// 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
This commit is contained in:
@@ -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