Skip to content
Snippets Groups Projects
Commit 5cf739e6 authored by Prasad's avatar Prasad
Browse files

Merge branch '158428588' into 'master'

Fixes: Added the storedname key value to the attachment details of the inventory modules which we use to get the filedetails when sending the mail with pdf

See merge request !1055
parents c47c9f9d fb4a9bfe
No related branches found
No related tags found
1 merge request!1055Fixes: Added the storedname key value to the attachment details of the inventory modules which we use to get the filedetails when sending the mail with pdf
......@@ -32,8 +32,10 @@ class Inventory_SendEmail_View extends Vtiger_ComposeEmail_View {
'attachment' =>$fileName,
'path' => implode('/',$fileComponents),
'size' => filesize($pdfFileName),
'type' => 'pdf',
'nondeletable' => true
'type' => 'pdf',
'nondeletable' => true,
// The stored name is needed to send the file with the email.
'storedname' => $fileName
));
$this->populateTo($request);
......
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