// 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:
rMalie
2012-04-25 09:54:28 +00:00
parent 64b83ee40e
commit 728fb6d651
+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 :