//fixed create root category

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@16666 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
vAugagneur
2012-08-02 14:53:47 +00:00
parent 0ffbb332c5
commit c4c69c3aee
3 changed files with 19 additions and 14 deletions
+1 -1
View File
@@ -517,7 +517,7 @@ class AdminShopControllerCore extends AdminController
'id_shop_group' => (Tools::getValue('id_shop_group') ? Tools::getValue('id_shop_group') :
(isset($obj->id_shop_group)) ? $obj->id_shop_group : Shop::getContextShopGroupID()),
'id_category' => (Tools::getValue('id_category') ? Tools::getValue('id_category') :
(isset($obj->id_shop_group)) ? $obj->id_shop_group : Shop::getContextShopGroupID()),
(isset($obj->id_category)) ? $obj->id_category : (int)Configuration::get('PS_HOME_CATEGORY')),
'id_theme_checked' => (isset($obj->id_theme) ? $obj->id_theme : $id_theme)
);