// Fixed stats bug (bad id for ajax request)

This commit is contained in:
Damien Metzger
2013-10-09 10:05:12 +02:00
parent 8c9dffd854
commit 38143e1245
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -504,7 +504,7 @@ class AdminStatsControllerCore extends AdminStatsTabController
else
{
$country = new Country($row['id_country'], $this->context->language->id);
$value = sprintf($this->l('%.1f%% %s'), $row['orders'], $country->name);
$value = sprintf($this->l('%d%% %s'), $row['orders'], $country->name);
}
ConfigurationKPI::updateValue('MAIN_COUNTRY', array($this->context->language->id => $value));