Update local_stream.conf.lua

Check if row.music_on_hold_timer_name is empty.
This commit is contained in:
FusionPBX 2016-06-28 12:24:31 -06:00 committed by GitHub
parent 4ea5b2a4ad
commit bc46191440
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@
end
--set the default timer name to soft
if (row.music_on_hold_timer_name == nil) then
if (row.music_on_hold_timer_name == nil or row.music_on_hold_timer_name == '') then
timer_name = "soft";
else
timer_name = row.music_on_hold_timer_name;