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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

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