[-] BO : #PSCFV-2758 : fix error when use Tools::displayErrors()
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@15956 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user