// 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:
1 parent
64752e943c
commit
ef6046f1f0
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());
|
||||||
|
|||||||
Reference in new issue
Block a user