// Context part 16 (shops)
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@7664 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -84,7 +84,7 @@ class AdminPayment extends AdminTab
|
||||
|
||||
private function saveRestrictions($type)
|
||||
{
|
||||
Db::getInstance()->Execute('DELETE FROM '._DB_PREFIX_.'module_'.$type.' WHERE id_shop='.Context::getContext()->shop->getID());
|
||||
Db::getInstance()->Execute('DELETE FROM '._DB_PREFIX_.'module_'.$type.' WHERE id_shop = '.Context::getContext()->shop->getID(true));
|
||||
foreach ($this->paymentModules as $module)
|
||||
if ($module->active AND isset($_POST[$module->name.'_'.$type.'']))
|
||||
foreach ($_POST[$module->name.'_'.$type.''] as $selected)
|
||||
|
||||
Reference in New Issue
Block a user