// little fix

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12312 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
vChabot
2012-01-10 15:27:26 +00:00
parent 64752e943c
commit ef6046f1f0
@@ -142,7 +142,7 @@ class AdminCategoriesControllerCore extends AdminController
if ($nb_shop == 1 && $count_categories_without_parent > 1)
$categories_name = $this->l('Root');
else
if (empty($categories_name))
if ($this->_category->getName() == '')
{
$categories_name = new Category($id_parent);
$categories_name = stripslashes($categories_name->getName());