// fix bug in HelperView

This commit is contained in:
lLefevre
2011-11-22 16:59:03 +00:00
parent 2fbafe711d
commit e3f31993bf
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -42,9 +42,9 @@ class HelperViewCore extends Helper
parent::__construct();
}
public function generateView($tpl = false)
public function generateView()
{
$this->tpl = $this->createTemplate(!$tpl ? $this->base_tpl : $tpl);
$this->tpl = $this->createTemplate($this->base_tpl);
$this->tpl->assign(array(
'title' => $this->title,