[-] BO : #PSCFV-2758 : fix error when use Tools::displayErrors()

This commit is contained in:
lLefevre
2012-06-08 14:54:59 +00:00
parent 5cc8fea579
commit 2c8222bf45
2 changed files with 2 additions and 2 deletions
@@ -397,7 +397,7 @@ class AdminProductsControllerCore extends AdminController
$id_product = (int)Tools::getValue($this->identifier);
$res = $attachment->attachProduct($id_product);
if (!$res)
$this->errors[] = Tools::displayErrors('Unable to associate this attachment to product');
$this->errors[] = Tools::displayError('Unable to associate this attachment to product');
}
}
else