[*] BO : you can know download the previous file near the upload file input
This commit is contained in:
1 parent
e9a802cf23
commit
03857c0576
6 files changed
+37
-5
No files matched your search
@@ -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);
|
||||
|
||||
|
||||
Reference in new issue
Block a user