From: vincent@cubedesigners.com Date: Mon, 28 Sep 2020 12:43:48 +0000 (+0000) Subject: wait #3913 @0.25 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=87443925823cf86d087d8df1277691907d835aac;p=cubeextranet.git wait #3913 @0.25 --- diff --git a/inc/ws/Util/html5/master/class.ws.html5.seo.php b/inc/ws/Util/html5/master/class.ws.html5.seo.php index 5e4812db4..56fa5110d 100644 --- a/inc/ws/Util/html5/master/class.ws.html5.seo.php +++ b/inc/ws/Util/html5/master/class.ws.html5.seo.php @@ -215,6 +215,10 @@ class wsHTML5SeoPage 'seoContent' => $this->getSEOContent(), 'startpage' => '' . "\n"]; + if (!$this->_container->compiler->book->parametres->seoVersion) { + $vars['canonical'] = $vars['next'] = $vars['prev'] = ''; + } + foreach ($vars as $k => $var) { $html = str_replace('', $var, $html); }