diff --git a/controllers/admin/AdminModulesController.php b/controllers/admin/AdminModulesController.php index a20d58d93..683ba0643 100644 --- a/controllers/admin/AdminModulesController.php +++ b/controllers/admin/AdminModulesController.php @@ -714,7 +714,7 @@ class AdminModulesControllerCore extends AdminController $activateOnclick = 'onclick="location.href = \''.$this->getCurrentUrl('enable').'&enable=\'+(($(this).attr(\'checked\')) ? 1 : 0)"'; $toolbar .= ' - active) ? 'checked="checked"' : '').' '.$activateOnclick.' /> '.$this->l('Activate module for').' '; + isEnabledForShopContext() ? 'checked="checked"' : '').' '.$activateOnclick.' /> '.$this->l('Activate module for').' '; if (Shop::getContext() == Shop::CONTEXT_SHOP) $toolbar .= 'shop '.$this->context->shop->name.''; elseif (Shop::getContext() == Shop::CONTEXT_GROUP)