This commit is contained in:
Vincent Augagneur
2013-09-03 10:59:12 +02:00
parent 5dc2eec97d
commit 70e6aea7c3
4 changed files with 7 additions and 8 deletions
+2 -2
View File
@@ -42,7 +42,7 @@ class Dashactivity extends Module
public function install()
{
if (!parent::install() || !$this->registerHook('dashboardZoneOne') || !$this->registerHook('dashboardDatas'))
if (!parent::install() || !$this->registerHook('dashboardZoneOne') || !$this->registerHook('dashboardData'))
return false;
return true;
}
@@ -52,7 +52,7 @@ class Dashactivity extends Module
return $this->display(__FILE__, 'dashboard_zone_one.tpl');
}
public function hookDashboardDatas($params)
public function hookDashboardData($params)
{
$order_nbr = Db::getInstance(_PS_USE_SQL_SLAVE_)->getValue('
SELECT COUNT(o.`id_order`)