//fix content assign
This commit is contained in:
@@ -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
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user