// fix AdminStatsTab::displayStats() when no module is active

This commit is contained in:
tDidierjean
2011-11-22 17:17:19 +00:00
parent af0fc5bb1e
commit 09459b3751
@@ -1,6 +1,6 @@
<?php <?php
/* /*
* 2007-2011 PrestaShop * 2007-2011 PrestaShop
* *
* NOTICE OF LICENSE * NOTICE OF LICENSE
* *
@@ -161,8 +161,8 @@ abstract class AdminStatsTabControllerCore extends AdminPreferencesControllerCor
$tpl->assign(array( $tpl->assign(array(
'module_name' => $module_name, 'module_name' => $module_name,
'module_instance' => $module_instance, 'module_instance' => isset($module_instance) ? $module_instance : null,
'hook' => $hook 'hook' => isset($hook) ? $hook : null
)); ));
return $tpl->fetch(); return $tpl->fetch();