// small fix
This commit is contained in:
@@ -226,7 +226,7 @@ class LinkCore
|
||||
*/
|
||||
public function getCMSLink($cms, $alias = null, $ssl = false, $id_lang = null)
|
||||
{
|
||||
$base = (($ssl || $this->ssl_enable) ? _PS_BASE_URL_SSL_ : _PS_BASE_URL_);
|
||||
$base = (($ssl && $this->ssl_enable) ? _PS_BASE_URL_SSL_ : _PS_BASE_URL_);
|
||||
|
||||
if (!$id_lang)
|
||||
$id_lang = Context::getContext()->language->id;
|
||||
|
||||
@@ -485,7 +485,7 @@ class ParentOrderControllerCore extends FrontController
|
||||
|
||||
// TOS
|
||||
$cms = new CMS(Configuration::get('PS_CONDITIONS_CMS_ID'), $this->context->language->id);
|
||||
$this->link_conditions = $this->context->link->getCMSLink($cms, $cms->link_rewrite, true);
|
||||
$this->link_conditions = $this->context->link->getCMSLink($cms, $cms->link_rewrite, false);
|
||||
if (!strpos($this->link_conditions, '?'))
|
||||
$this->link_conditions .= '?content_only=1';
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user