// 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:
lLefevre
2011-11-22 17:00:09 +00:00
parent 41d593618d
commit cbea65eb66
2 changed files with 3 additions and 3 deletions
+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;