Merge pull request #1450 from daniel-lucio/patch-3

Wrong variable in freeswitch.email
This commit is contained in:
FusionPBX 2016-04-18 21:20:44 -06:00
commit 4230d3b414
1 changed files with 3 additions and 3 deletions

View File

@ -59,21 +59,21 @@
--send the email
if (file == nil) then
freeswitch.email(to,
to,
from,
"To: "..to.."\nFrom: "..from.."\nX-Headers: "..headers.."\nSubject: "..subject,
body
);
else
if (convert_cmd == nil) then
freeswitch.email(to,
to,
from,
"To: "..to.."\nFrom: "..from.."\nX-Headers: "..headers.."\nSubject: "..subject,
body,
file
);
else
freeswitch.email(to,
to,
from,
"To: "..to.."\nFrom: "..from.."\nX-Headers: "..headers.."\nSubject: "..subject,
body,
file,