From cbea65eb667ed4755dcd6656784fd53d704f8862 Mon Sep 17 00:00:00 2001 From: lLefevre Date: Tue, 22 Nov 2011 17:00:09 +0000 Subject: [PATCH] // fix bug in AdminController method initView() git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10455 b9a71923-0436-4b27-9f14-aed3839534dd --- classes/AdminController.php | 4 ++-- controllers/admin/AdminInformationController.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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(