[*] Classes : fix bug #PSFV-162 - Remove unused variables

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12125 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
tDidierjean
2012-01-04 13:41:03 +00:00
parent a58bd0bc74
commit 5ae13861be
4 changed files with 4 additions and 16 deletions
@@ -110,8 +110,6 @@ class ManufacturerControllerCore extends FrontController
$nbProducts = count($data);
$this->pagination($nbProducts);
$manufacturers = Manufacturer::getManufacturers(true, $this->context->language->id, true, $this->p, $this->n, false, $id_current_group_shop);
$imgDir = _PS_MANU_IMG_DIR_;
foreach ($data as &$item)
$item['image'] = (!file_exists(_PS_MANU_IMG_DIR_.'/'.$item['id_manufacturer'].'-medium.jpg')) ? $this->context->language->iso_code.'-default' : $item['id_manufacturer'];