[-] FO : fixed bug #PSCFV-5368 - CMS pages are all blank in front but exists in admin

This commit is contained in:
vAugagneur
2012-11-13 15:50:31 +00:00
parent 54a93d5b2d
commit 1ed8a01f5f
2 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -101,7 +101,7 @@ class CmsControllerCore extends FrontController
else if ($this->assignCase == 2)
{
$this->context->smarty->assign(array(
'category' => $this->cms_category,
'cms_category' => $this->cms_category,
'sub_category' => $this->cms_category->getSubCategories($this->context->language->id),
'cms_pages' => CMS::getCMSPages($this->context->language->id, (int)($this->cms_category->id) ),
'path' => ($this->cms_category->id !== 1) ? Tools::getPath($this->cms_category->id, $this->cms_category->name, false, 'CMS') : '',