// Fix getContextType()

This commit is contained in:
rMalie
2012-02-24 10:11:01 +00:00
parent 03f5b4da70
commit c55ce4833f
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)