Skip to content
Snippets Groups Projects
Commit 9a5a9773 authored by Uma's avatar Uma
Browse files

Fixes #1209 File attachments in mail

parent bd6cce8a
No related branches found
No related tags found
1 merge request!490Fixes #1209 File attachments in mail
...@@ -330,6 +330,7 @@ class Emails_Record_Model extends Vtiger_Record_Model { ...@@ -330,6 +330,7 @@ class Emails_Record_Model extends Vtiger_Record_Model {
$documentsList[$i]['path'] = $db->query_result($documentRes, $i, 'path'); $documentsList[$i]['path'] = $db->query_result($documentRes, $i, 'path');
$documentsList[$i]['fileid'] = $db->query_result($documentRes, $i, 'attachmentsid'); $documentsList[$i]['fileid'] = $db->query_result($documentRes, $i, 'attachmentsid');
$documentsList[$i]['attachment'] = decode_html($db->query_result($documentRes, $i, 'name')); $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'); $documentsList[$i]['type'] = $db->query_result($documentRes, $i, 'type');
} }
} }
......
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