// Revert normalization
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@8019 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -90,7 +90,7 @@ class StatsCarrier extends ModuleGraph
|
||||
protected function getData($layers)
|
||||
{
|
||||
$stateQuery = '';
|
||||
if ($this->_option)
|
||||
if ((int)($this->_option))
|
||||
$stateQuery = 'AND (SELECT oh.id_order_state FROM `'._DB_PREFIX_.'order_history` oh WHERE o.id_order = oh.id_order ORDER BY oh.date_add DESC, oh.id_order_history DESC LIMIT 1) = '.(int)($this->_option);
|
||||
$this->_titles['main'] = $this->l('Percentage of orders by carrier');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user