[-] FO : fixed bug #PSCFV-5368 - CMS pages are all blank in front but exists in admin
This commit is contained in:
@@ -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') : '',
|
||||
|
||||
Reference in New Issue
Block a user