mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 09:03:49 +00:00
Update fax_retry.lua
Prevent a nill error for email_address.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user