// Fix getContextType()

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@13596 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
rMalie
2012-02-24 10:11:01 +00:00
parent 8596c81daf
commit 6e6c69e617
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -4057,7 +4057,7 @@ class ProductCore extends ObjectModel
die(Tools::displayError());
$this->deleteTaxRulesGroup($all_shops);
if (Context::getContext()->shop->getContextType() != Shop::CONTEXT_SHOP)
if (Shop::getContext() != Shop::CONTEXT_SHOP)
$all_shops = true;
if ($all_shops)