Skip to content
This repository has been archived by the owner on Nov 12, 2019. It is now read-only.

Commit

Permalink
[-] BO : remove deprecated parameter when call Tools::link_rewrite()
Browse files Browse the repository at this point in the history
  • Loading branch information
vAugagneur committed May 20, 2013
1 parent e157a8f commit 7aef793
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions classes/Manufacturer.php
Expand Up @@ -215,7 +215,7 @@ public static function getManufacturers($get_nb_products = false, $id_lang = 0,

for ($i = 0; $i < $total_manufacturers; $i++)
if ($rewrite_settings)
$manufacturers[$i]['link_rewrite'] = Tools::link_rewrite($manufacturers[$i]['name'], false);
$manufacturers[$i]['link_rewrite'] = Tools::link_rewrite($manufacturers[$i]['name']);
else
$manufacturers[$i]['link_rewrite'] = 0;

Expand Down Expand Up @@ -258,7 +258,7 @@ public static function getIdByName($name)

public function getLink()
{
return Tools::link_rewrite($this->name, false);
return Tools::link_rewrite($this->name);
}

public static function getProducts($id_manufacturer, $id_lang, $p, $n, $order_by = null, $order_way = null,
Expand Down

0 comments on commit 7aef793

Please sign in to comment.