Update fax_retry.lua
Prevent a nill error for email_address.
This commit is contained in:
parent
c029516f07
commit
96708bdeea
|
|
@ -293,9 +293,9 @@
|
|||
--for email
|
||||
email_address = env:getHeader("mailto_address");
|
||||
--email_address = api:execute("system", "/bin/echo -n "..email_address.." | /bin/sed -e s/\,/\\\\,/g");
|
||||
--if (not email_address) then
|
||||
-- email_address = '';
|
||||
--end
|
||||
if (not email_address) then
|
||||
email_address = '';
|
||||
end
|
||||
email_address = email_address:gsub(",", "\\,");
|
||||
from_address = env:getHeader("mailfrom_address");
|
||||
if (from_address == nil) then
|
||||
|
|
|
|||
Loading…
Reference in New Issue