// fix bug in AdminController method initView()

This commit is contained in:
lLefevre committed 2011-11-22 17:00:09 +00:00
1 parent b4773e1a74
commit aa3b3be910
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -1371,12 +1371,12 @@ class AdminControllerCore extends Controller
/**
* Override to init display of the view page
*/
public function initView($tpl = false)
public function initView()
{
$helper = new HelperView($this);
$this->setHelperDisplay($helper);
$helper->tpl_vars = $this->tpl_view_vars;
$view = $helper->generateView($tpl);
$view = $helper->generateView();
$this->toolbar_fix = false;
return $view;