make_cat_path() make use of arguments instead of globals
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user