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

This commit is contained in:
Damien Metzger committed 2013-10-25 18:55:25 +02:00
1 parent e9a802cf23
commit 03857c0576
6 files changed
+37 -5

No files matched your search

+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);