// fix bug in AdminController method initView()
This commit is contained in:
1 parent
b4773e1a74
commit
aa3b3be910
2 files changed
+3
-3
No files matched your search
@@ -1371,12 +1371,12 @@ class AdminControllerCore extends Controller
|
|||||||
/**
|
/**
|
||||||
* Override to init display of the view page
|
* Override to init display of the view page
|
||||||
*/
|
*/
|
||||||
public function initView($tpl = false)
|
public function initView()
|
||||||
{
|
{
|
||||||
$helper = new HelperView($this);
|
$helper = new HelperView($this);
|
||||||
$this->setHelperDisplay($helper);
|
$this->setHelperDisplay($helper);
|
||||||
$helper->tpl_vars = $this->tpl_view_vars;
|
$helper->tpl_vars = $this->tpl_view_vars;
|
||||||
$view = $helper->generateView($tpl);
|
$view = $helper->generateView();
|
||||||
$this->toolbar_fix = false;
|
$this->toolbar_fix = false;
|
||||||
|
|
||||||
return $view;
|
return $view;
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ class AdminInformationControllerCore extends AdminController
|
|||||||
parent::initContent();
|
parent::initContent();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function initView($tpl = false)
|
public function initView()
|
||||||
{
|
{
|
||||||
$this->tpl_view_vars = array(
|
$this->tpl_view_vars = array(
|
||||||
'version' => array(
|
'version' => array(
|
||||||
|
|||||||
Reference in new issue
Block a user