// Fix assignations in conditions with logical operators + normalize

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12912 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
rMalie committed 2012-02-01 16:42:20 +00:00
1 parent 3f67f95a5c
commit 7fe9fd241d
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(