// Fix problem on configuration context for mono-shop mode #PSTEST-1231

This commit is contained in:
rMalie
2012-04-25 09:54:28 +00:00
parent dc86241bac
commit e358fa4345
+4
View File
@@ -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 :