[-] BO : remove deprecated parameter when call Tools::link_rewrite() part 2

This commit is contained in:
vAugagneur
2013-05-20 16:39:08 +02:00
parent 90f0781377
commit 5244fdaa21
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -95,7 +95,7 @@ class SupplierCore extends ObjectModel
public function getLink()
{
return Tools::link_rewrite($this->name, false);
return Tools::link_rewrite($this->name);
}
/**
+1 -1
View File
@@ -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;