[-] BO : getCMSPages to associated shop in cmscontroller
This commit is contained in:
1 parent
e6f9f806bf
commit
91cde1ab3a
1 file changed
+1
-1
@@ -120,7 +120,7 @@ class CmsControllerCore extends FrontController
|
|||||||
'category' => $this->cms_category, //for backward compatibility
|
'category' => $this->cms_category, //for backward compatibility
|
||||||
'cms_category' => $this->cms_category,
|
'cms_category' => $this->cms_category,
|
||||||
'sub_category' => $this->cms_category->getSubCategories($this->context->language->id),
|
'sub_category' => $this->cms_category->getSubCategories($this->context->language->id),
|
||||||
'cms_pages' => CMS::getCMSPages($this->context->language->id, (int)($this->cms_category->id) ),
|
'cms_pages' => CMS::getCMSPages($this->context->language->id, (int)($this->cms_category->id), true, (int)$this->context->shop->id),
|
||||||
'path' => ($this->cms_category->id !== 1) ? Tools::getPath($this->cms_category->id, $this->cms_category->name, false, 'CMS') : '',
|
'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