Update send_email.lua

This commit is contained in:
FusionPBX
2023-03-16 11:22:14 -06:00
committed by GitHub
parent 628592e1af
commit 9a565cdb14

View File

@@ -105,12 +105,12 @@
end);
--default/domain setting time zone
if (time_zone == nil) then
if (time_zone == nil or time_zone == '') then
time_zone = settings:get('domain', 'time_zone', 'name');
end
--default time zone
if (time_zone == nil) then
if (time_zone == nil or time_zone == '') then
time_zone = 'UTC';
end