mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-04 02:43:48 +00:00
Fix a problem with DND when Follow Me hasn't been used for a particular extension.
This commit is contained in:
@@ -124,7 +124,7 @@
|
||||
|
||||
--disable follow me
|
||||
if (follow_me_uuid ~= nil) then
|
||||
if (enabled == "true") then
|
||||
if (string.len(follow_me_uuid) > 0 and enabled == "true") then
|
||||
sql = "update v_follow_me set ";
|
||||
sql = sql .. "follow_me_enabled = 'false' ";
|
||||
sql = sql .. "where domain_uuid = '"..domain_uuid.."' ";
|
||||
|
||||
Reference in New Issue
Block a user