// Fix problem on configuration context for mono-shop mode #PSTEST-1231
This commit is contained in:
1 parent
c3a44cdf37
commit
5074245ced
1 file changed
+4
@@ -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 :
|
||||
|
||||
Reference in new issue
Block a user