// Code cleaning stats modules

This commit is contained in:
Damien Metzger
2013-10-28 13:39:39 +01:00
parent 9c54dcce66
commit 0aea146a4c
2 changed files with 3 additions and 5 deletions
@@ -75,7 +75,8 @@ class StatsPersonalInfos extends ModuleGraph
</ul>
</p>
</div>';
if (count(Customer::getCustomers()))
$has_customers = (bool)Db::getInstance()->getValue('SELECT id_customer FROM '._DB_PREFIX_.'customer');
if ($has_customers)
{
if (Tools::getValue('export'))
if (Tools::getValue('exportType') == 'gender')