[-] FO : fixed bug on Manufacturer and Supplier controller, missing variable
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@8300 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -97,7 +97,7 @@ class SupplierControllerCore extends FrontController
|
||||
|
||||
$suppliers = Supplier::getSuppliers(true, $this->context->language->id, true, $this->p, $this->n);
|
||||
foreach ($suppliers AS &$row)
|
||||
$row['image'] = (!file_exists(_PS_SUPP_IMG_DIR_.'/'.$row['id_supplier'].'-medium.jpg')) ? $this->context->language->iso_code.'-default' : $item['id_supplier'];;
|
||||
$row['image'] = (!file_exists(_PS_SUPP_IMG_DIR_.'/'.$row['id_supplier'].'-medium.jpg')) ? $this->context->language->iso_code.'-default' : $row['id_supplier'];;
|
||||
|
||||
$this->context->smarty->assign(array(
|
||||
'pages_nb' => ceil($nbProducts / (int)$this->n),
|
||||
|
||||
Reference in New Issue
Block a user