From 7f19043b6321d2a25453cb08646ec80e9fdfeb79 Mon Sep 17 00:00:00 2001 From: lLefevre Date: Tue, 13 Dec 2011 13:55:22 +0000 Subject: [PATCH] // fix bug in AdminCategoriesController git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11178 b9a71923-0436-4b27-9f14-aed3839534dd --- controllers/admin/AdminCategoriesController.php | 9 --------- 1 file changed, 9 deletions(-) diff --git a/controllers/admin/AdminCategoriesController.php b/controllers/admin/AdminCategoriesController.php index f6764be72..cb765b839 100644 --- a/controllers/admin/AdminCategoriesController.php +++ b/controllers/admin/AdminCategoriesController.php @@ -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,