// Added Modules KPIs

This commit is contained in:
Damien Metzger
2013-10-08 19:39:39 +02:00
parent 797a6c121a
commit d9b40b8f35
6 changed files with 103 additions and 7 deletions
+1 -1
View File
@@ -1365,7 +1365,7 @@ class AdminControllerCore extends Controller
$this->context->smarty->assign('conf', $this->json ? Tools::jsonEncode($this->_conf[(int)$conf]) : $this->_conf[(int)$conf]);
foreach (array('errors', 'warnings', 'informations', 'confirmations') as $type)
$this->context->smarty->assign($type, $this->json ? Tools::jsonEncode(array_unique($this->$type)) : array_unique($this->$type));
$this->context->smarty->assign($type, $this->json ? Tools::jsonEncode(array_unique($this->$type)) : array_unique($this->$type));
$this->context->smarty->assign('page', $this->json ? Tools::jsonEncode($page) : $page);