// fix AdminStatsTab::displayStats() when no module is active
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10457 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user