// Improve multishop API
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@13566 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
+1
-1
@@ -503,7 +503,7 @@ if (Tools::isSubmit('saveHook'))
|
||||
$hooks_list = explode(',', Tools::getValue('hooks_list'));
|
||||
$id_shop = (int)Tools::getValue('id_shop');
|
||||
if (!$id_shop)
|
||||
$id_shop = Context::getContext()->shop->getId(true);
|
||||
$id_shop = Context::getContext()->shop->id;
|
||||
|
||||
$res = true;
|
||||
$hookableList = array();
|
||||
|
||||
Reference in New Issue
Block a user