[-] BO : fix #PSCFI-5408
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@14620 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -222,8 +222,10 @@ class ManufacturerCore extends ObjectModel
|
||||
}
|
||||
|
||||
$total_manufacturers = count($manufacturers);
|
||||
$rewrite_settings = (int)Configuration::get('PS_REWRITING_SETTINGS');
|
||||
|
||||
for ($i = 0; $i < $total_manufacturers; $i++)
|
||||
if ((int)Configuration::get('PS_REWRITING_SETTINGS'))
|
||||
if ($rewrite_settings)
|
||||
$manufacturers[$i]['link_rewrite'] = Tools::link_rewrite($manufacturers[$i]['name'], false);
|
||||
else
|
||||
$manufacturers[$i]['link_rewrite'] = 0;
|
||||
|
||||
Reference in New Issue
Block a user