From 0614bef941961d45fae336cc173ce2dba19a186a Mon Sep 17 00:00:00 2001 From: vAugagneur Date: Thu, 6 Sep 2012 13:52:13 +0000 Subject: [PATCH] //added variable to disable multistore context in module --- controllers/admin/AdminModulesController.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/controllers/admin/AdminModulesController.php b/controllers/admin/AdminModulesController.php index 8af34b32b..7cedb3a09 100644 --- a/controllers/admin/AdminModulesController.php +++ b/controllers/admin/AdminModulesController.php @@ -623,6 +623,9 @@ class AdminModulesControllerCore extends AdminController // If the method called is "configure" (getContent method), we show the html code of configure page if ($key == 'configure' && Module::isInstalled($module->name)) { + if (isset($module->multishop_context)) + $this->multishop_context = $module->multishop_context; + $backlink = self::$currentIndex.'&token='.$this->token.'&tab_module='.$module->tab.'&module_name='.$module->name; $hooklink = 'index.php?tab=AdminModulesPositions&token='.Tools::getAdminTokenLite('AdminModulesPositions').'&show_modules='.(int)$module->id; $tradlink = 'index.php?tab=AdminTranslations&token='.Tools::getAdminTokenLite('AdminTranslations').'&type=modules&lang=';