// Fix assignations in conditions with logical operators + normalize

This commit is contained in:
rMalie committed 2012-02-01 16:42:20 +00:00
1 parent 1e62380355
commit 801f647827
7 files changed
+13 -13

No files matched your search

+1 -1
View File
@@ -87,7 +87,7 @@ class BlockSpecials extends Module
if (Configuration::get('PS_CATALOG_MODE'))
return ;
if (!$special = Product::getRandomSpecial((int)$params['cookie']->id_lang) AND !Configuration::get('PS_BLOCK_SPECIALS_DISPLAY'))
if (!($special = Product::getRandomSpecial((int)$params['cookie']->id_lang)) && !Configuration::get('PS_BLOCK_SPECIALS_DISPLAY'))
return;
$this->smarty->assign(array(