From b536245d4c94a6d01fd8cf811fb310e2de4a1fc8 Mon Sep 17 00:00:00 2001 From: vChabot Date: Thu, 10 May 2012 14:43:20 +0000 Subject: [PATCH] // little fix render admin category tree with selectedCat var --- controllers/admin/AdminShopController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/admin/AdminShopController.php b/controllers/admin/AdminShopController.php index b7915bc8e..2e18526ba 100755 --- a/controllers/admin/AdminShopController.php +++ b/controllers/admin/AdminShopController.php @@ -582,7 +582,7 @@ class AdminShopControllerCore extends AdminController $id_root = Configuration::get('PS_ROOT_CATEGORY'); $id_shop = (int)Tools::getValue('id_shop'); $shop = new Shop($id_shop); - $selected_cat = Shop::getCategories(); + $selected_cat = Shop::getCategories($id_shop); if (empty($selected_cat)) { // get first category root and preselect all these children