// Revert normalization

This commit is contained in:
rMalie
2011-08-11 10:20:59 +00:00
parent accec09c98
commit 2bb147128b
48 changed files with 77 additions and 77 deletions
+1 -1
View File
@@ -64,7 +64,7 @@ class BlockViewed extends Module
{
if (!$productNbr = Tools::getValue('productNbr') OR empty($productNbr))
$output .= '<div class="alert error">'.$this->l('You must fill in the \'Products displayed\' field.').'</div>';
elseif ((int)$productNbr == 0)
elseif ((int)($productNbr) == 0)
$output .= '<div class="alert error">'.$this->l('Invalid number.').'</div>';
else
{