// added toolbar in cart_rules form.tpl

This commit is contained in:
lLefevre
2011-11-30 16:08:30 +00:00
parent a47a9ef4f6
commit 5d67e32c8b
4 changed files with 38 additions and 20 deletions
+2 -1
View File
@@ -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'])