[-] 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()
|
||||
{
|
||||
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 (intval(Configuration::get('PS_REWRITING_SETTINGS')))
|
||||
$manufacturer->link_rewrite = Tools::link_rewrite($manufacturer->name, false);
|
||||
$manufacturer->link_rewrite = Tools::link_rewrite($manufacturer->name);
|
||||
else
|
||||
$manufacturer->link_rewrite = 0;
|
||||
$link = new Link;
|
||||
|
||||
Reference in New Issue
Block a user