diff --git a/classes/AdminController.php b/classes/AdminController.php index 843b06cc8..f116d6748 100644 --- a/classes/AdminController.php +++ b/classes/AdminController.php @@ -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; diff --git a/controllers/admin/AdminInformationController.php b/controllers/admin/AdminInformationController.php index da3807a2c..04849dd02 100644 --- a/controllers/admin/AdminInformationController.php +++ b/controllers/admin/AdminInformationController.php @@ -33,7 +33,7 @@ class AdminInformationControllerCore extends AdminController parent::initContent(); } - public function initView($tpl = false) + public function initView() { $this->tpl_view_vars = array( 'version' => array(