Skip to content
Snippets Groups Projects
Commit 13720807 authored by yogeshwar's avatar yogeshwar
Browse files

#Fixes::157992311::yogeshwar::.csv file is not available for preview when it...

#Fixes::157992311::yogeshwar::.csv file is not available for preview when it is scanned from mailconverter
parent 528bb567
No related branches found
No related tags found
No related merge requests found
......@@ -548,8 +548,8 @@ class Vtiger_MailScannerAction {
$mimetype = MailAttachmentMIME::detect($saveasfile);
$adb->pquery("INSERT INTO vtiger_attachments SET attachmentsid=?, name=?, description=?, type=?, path=?",
Array($attachid, $filename, $description, $mimetype, $dirname));
$adb->pquery("INSERT INTO vtiger_attachments SET attachmentsid=?, name=?, description=?, type=?,storedname=?,path=?",
Array($attachid, $filename, $description, $mimetype,$filename,$dirname));
return true;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment