// Fix problem on configuration context for mono-shop mode #PSTEST-1231
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@14867 b9a71923-0436-4b27-9f14-aed3839534dd
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