From c9490973b561d3c8709fc32ea506e03292f42fb5 Mon Sep 17 00:00:00 2001 From: tDidierjean Date: Fri, 21 Oct 2011 13:49:22 +0000 Subject: [PATCH] //fix content assign git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@9545 b9a71923-0436-4b27-9f14-aed3839534dd --- 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 )); }