From d060f0a4e4240d809b2f3e1b7e34e2d4186a3af6 Mon Sep 17 00:00:00 2001 From: tDidierjean Date: Fri, 21 Oct 2011 13:49:22 +0000 Subject: [PATCH] //fix content assign --- classes/AdminController.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/classes/AdminController.php b/classes/AdminController.php index 4ffbc26f7..b02f87074 100644 --- a/classes/AdminController.php +++ b/classes/AdminController.php @@ -1029,18 +1029,19 @@ class AdminControllerCore extends Controller { if (!($this->object = $this->loadObject(true))) return; - $content .= $this->initForm(); + $this->content .= $this->initForm(); } else if ($this->display != 'view') { - $content .= $this->initList(); - $content .= $this->initOptions(); + $this->content .= $this->initList(); + $this->content .= $this->initOptions(); } + $this->context->smarty->assign(array( 'table' => $this->table, 'current' => self::$currentIndex, 'token' => $this->token, - 'content', $this->content + 'content' => $this->content )); }