[*] BO : you can know download the previous file near the upload file input

This commit is contained in:
Damien Metzger
2013-10-25 18:55:25 +02:00
parent e9a802cf23
commit 03857c0576
6 changed files with 37 additions and 5 deletions
+2 -2
View File
@@ -106,8 +106,8 @@ class AttachmentCore extends ObjectModel
public static function deleteProductAttachments($id_product)
{
$res = Db::getInstance()->execute('
DELETE FROM '._DB_PREFIX_.'product_attachment
WHERE id_product = '.(int)$id_product);
DELETE FROM '._DB_PREFIX_.'product_attachment
WHERE id_product = '.(int)$id_product);
Product::updateCacheAttachment((int)$id_product);