From e358fa43457ffd31fa9367fc7370f3d90b586959 Mon Sep 17 00:00:00 2001 From: rMalie Date: Wed, 25 Apr 2012 09:54:28 +0000 Subject: [PATCH] // Fix problem on configuration context for mono-shop mode #PSTEST-1231 --- classes/shop/Shop.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/classes/shop/Shop.php b/classes/shop/Shop.php index a35a74e4b..624298d47 100644 --- a/classes/shop/Shop.php +++ b/classes/shop/Shop.php @@ -639,6 +639,10 @@ class ShopCore extends ObjectModel public static function setContext($type, $id = null) { + // Always use global context for mono-shop mode + if (!Shop::isFeatureActive()) + $type = self::CONTEXT_ALL; + switch ($type) { case self::CONTEXT_ALL :