// little fix

This commit is contained in:
vChabot committed 2012-01-10 15:27:26 +00:00
1 parent fcad6fed41
commit 8bb8797a8b
1 file changed
+1 -1
@@ -142,7 +142,7 @@ class AdminCategoriesControllerCore extends AdminController
if ($nb_shop == 1 && $count_categories_without_parent > 1) if ($nb_shop == 1 && $count_categories_without_parent > 1)
$categories_name = $this->l('Root'); $categories_name = $this->l('Root');
else else
if (empty($categories_name)) if ($this->_category->getName() == '')
{ {
$categories_name = new Category($id_parent); $categories_name = new Category($id_parent);
$categories_name = stripslashes($categories_name->getName()); $categories_name = stripslashes($categories_name->getName());