[-] BO : fixed bug #PSCFV-9782 - live edit bug with multistore

This commit is contained in:
Vincent Augagneur
2013-08-19 17:21:03 +02:00
parent 155fd516ba
commit 8a0745e8de
7 changed files with 15 additions and 4 deletions
+2
View File
@@ -33,6 +33,8 @@ class CmsControllerCore extends FrontController
public function canonicalRedirection($canonicalURL = '')
{
if (Tools::getValue('live_edit'))
return ;
if (Validate::isLoadedObject($this->cms) && ($canonicalURL = $this->context->link->getCMSLink($this->cms)))
parent::canonicalRedirection($canonicalURL);
else if (Validate::isLoadedObject($this->cms_category) && ($canonicalURL = $this->context->link->getCMSCategoryLink($this->cms_category)))