// Fix problem on configuration context for mono-shop mode #PSTEST-1231
This commit is contained in:
@@ -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