// 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:
lLefevre
2011-11-30 16:08:30 +00:00
parent 88e6b1ac1a
commit 8671928caf
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'])