// 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
@@ -486,7 +486,7 @@ class StatsForecast extends Module
$ca = array();
$where = $join = '';
if ($this->context->cookie->stats_id_zone)
if ((int)$this->context->cookie->stats_id_zone)
{
$join = ' LEFT JOIN `'._DB_PREFIX_.'address` a ON o.id_address_invoice = a.id_address LEFT JOIN `'._DB_PREFIX_.'country` co ON co.id_country = a.id_country';
$where = ' AND co.id_zone = '.$this->context->cookie->stats_id_zone.' ';