From 9a5a977329e998c696b341e695e44e82e80e977a Mon Sep 17 00:00:00 2001 From: Uma <uma.s@vtiger.com> Date: Fri, 15 Nov 2019 17:47:42 +0530 Subject: [PATCH] Fixes #1209 File attachments in mail --- modules/Emails/models/Record.php | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/Emails/models/Record.php b/modules/Emails/models/Record.php index 5dedb8b4d..06b8f8781 100644 --- a/modules/Emails/models/Record.php +++ b/modules/Emails/models/Record.php @@ -330,6 +330,7 @@ class Emails_Record_Model extends Vtiger_Record_Model { $documentsList[$i]['path'] = $db->query_result($documentRes, $i, 'path'); $documentsList[$i]['fileid'] = $db->query_result($documentRes, $i, 'attachmentsid'); $documentsList[$i]['attachment'] = decode_html($db->query_result($documentRes, $i, 'name')); + $documentsList[$i]['storedname'] = decode_html($db->query_result($documentRes, $i, 'storedname')); $documentsList[$i]['type'] = $db->query_result($documentRes, $i, 'type'); } } -- GitLab