// little fix render admin category tree with selectedCat var

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@15180 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
vChabot
2012-05-10 14:43:20 +00:00
parent 3a02688ad1
commit 219d0c5606
+1 -1
View File
@@ -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