[-] BO : remove deprecated parameter when call Tools::link_rewrite() part 2
This commit is contained in:
@@ -95,7 +95,7 @@ class SupplierCore extends ObjectModel
|
|||||||
|
|
||||||
public function getLink()
|
public function getLink()
|
||||||
{
|
{
|
||||||
return Tools::link_rewrite($this->name, false);
|
return Tools::link_rewrite($this->name);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -554,7 +554,7 @@ class Blocktopmenu extends Module
|
|||||||
if (!is_null($manufacturer->id))
|
if (!is_null($manufacturer->id))
|
||||||
{
|
{
|
||||||
if (intval(Configuration::get('PS_REWRITING_SETTINGS')))
|
if (intval(Configuration::get('PS_REWRITING_SETTINGS')))
|
||||||
$manufacturer->link_rewrite = Tools::link_rewrite($manufacturer->name, false);
|
$manufacturer->link_rewrite = Tools::link_rewrite($manufacturer->name);
|
||||||
else
|
else
|
||||||
$manufacturer->link_rewrite = 0;
|
$manufacturer->link_rewrite = 0;
|
||||||
$link = new Link;
|
$link = new Link;
|
||||||
|
|||||||
Reference in New Issue
Block a user