//added comment
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@17155 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -411,7 +411,7 @@ class AdminEmployeesControllerCore extends AdminController
|
|||||||
$_GET[$key][$row['id_shop']] = 1;
|
$_GET[$key][$row['id_shop']] = 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
//if profile is super admin, manually fill checkBoxShopAsso_employee because in the form they are disabled.
|
||||||
if ($_POST['id_profile'] == _PS_ADMIN_PROFILE_)
|
if ($_POST['id_profile'] == _PS_ADMIN_PROFILE_)
|
||||||
{
|
{
|
||||||
$result = Db::getInstance()->executeS('SELECT id_shop FROM '._DB_PREFIX_.'shop');
|
$result = Db::getInstance()->executeS('SELECT id_shop FROM '._DB_PREFIX_.'shop');
|
||||||
|
|||||||
Reference in New Issue
Block a user