//fix content assign

This commit is contained in:
tDidierjean
2011-10-21 13:49:22 +00:00
parent 2dd023e92d
commit d060f0a4e4
+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
)); ));
} }