// added toolbar in cart_rules form.tpl
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10811 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -242,7 +242,8 @@ class CategoryCore extends ObjectModel
|
||||
$id_lang = _USER_ID_LANG_;
|
||||
|
||||
$children = array();
|
||||
if (($max_depth == 0 || $current_depth < $max_depth) && $subcats = $this->getSubCategories($id_lang, true) && count($subcats))
|
||||
$subcats = $this->getSubCategories($id_lang, true);
|
||||
if (($max_depth == 0 || $current_depth < $max_depth) && $subcats && count($subcats))
|
||||
foreach ($subcats as &$subcat)
|
||||
{
|
||||
if (!$subcat['id_category'])
|
||||
|
||||
Reference in New Issue
Block a user