// fix bug in AdminCategoriesController
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11178 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -171,15 +171,6 @@ class AdminCategoriesControllerCore extends AdminController
|
||||
$this->initToolbar();
|
||||
$obj = $this->loadObject(true);
|
||||
$selected_cat = array(isset($obj->id_parent) ? $obj->id_parent : Tools::getValue('id_parent', 1));
|
||||
if (count($selected_cat) > 0)
|
||||
{
|
||||
if (isset($selected_cat[0]))
|
||||
$selected_cat = implode(',', $selected_cat);
|
||||
else
|
||||
$selected_cat = implode(',', array_keys($selected_cat));
|
||||
}
|
||||
else
|
||||
$selected_cat = '';
|
||||
|
||||
$this->fields_form = array(
|
||||
'tinymce' => true,
|
||||
|
||||
Reference in New Issue
Block a user