//fix content assign

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@9545 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
tDidierjean
2011-10-21 13:49:22 +00:00
parent 365915cb0e
commit c9490973b5
+5 -4
View File
@@ -1029,18 +1029,19 @@ class AdminControllerCore extends Controller
{ {
if (!($this->object = $this->loadObject(true))) if (!($this->object = $this->loadObject(true)))
return; return;
$content .= $this->initForm(); $this->content .= $this->initForm();
} }
else if ($this->display != 'view') else if ($this->display != 'view')
{ {
$content .= $this->initList(); $this->content .= $this->initList();
$content .= $this->initOptions(); $this->content .= $this->initOptions();
} }
$this->context->smarty->assign(array( $this->context->smarty->assign(array(
'table' => $this->table, 'table' => $this->table,
'current' => self::$currentIndex, 'current' => self::$currentIndex,
'token' => $this->token, 'token' => $this->token,
'content', $this->content 'content' => $this->content
)); ));
} }