From 3b2be13f2e3ac7610873eb3cb1117739917aba4b Mon Sep 17 00:00:00 2001 From: Damien Metzger Date: Fri, 1 Feb 2013 10:30:59 +0100 Subject: [PATCH] // Added a configuration variable when logged on addons from the back end --- controllers/admin/AdminModulesController.php | 1 + 1 file changed, 1 insertion(+) diff --git a/controllers/admin/AdminModulesController.php b/controllers/admin/AdminModulesController.php index d1c3dfeb8..c6dc37a88 100644 --- a/controllers/admin/AdminModulesController.php +++ b/controllers/admin/AdminModulesController.php @@ -208,6 +208,7 @@ class AdminModulesControllerCore extends AdminController die ('KO'); if ($result == 'OK') { + Configuration::updateValue('PS_LOGGED_ON_ADDONS', 1); $this->context->cookie->username_addons = pSQL(trim(Tools::getValue('username_addons'))); $this->context->cookie->password_addons = pSQL(trim(Tools::getValue('password_addons'))); }