make_cat_path() make use of arguments instead of globals

This commit is contained in:
Paul van Schayck
2004-12-25 20:11:13 +00:00
committed by WineHQ
parent f5741ea108
commit 2c6592efbd
4 changed files with 14 additions and 13 deletions

View File

@@ -105,7 +105,6 @@ foreach ($cat_array_reversed as $i => $value)
/******************************************************************/
/* add to the list all of the sub sections of the current section */
$cat = new Category($catId);
$catFullPath = make_cat_path($cat->getCategoryPath());
$subs = $cat->getCategoryList();
if($subs)