diff options
author | Peter Kozak <spag@golwen.net> | 2013-03-15 08:41:13 -0400 |
---|---|---|
committer | Peter Kozak <spag@golwen.net> | 2013-03-15 08:41:13 -0400 |
commit | 5aa4b1351d34f138365f07995d704ae4a7e46e4a (patch) | |
tree | 4dd2d36b64a806c70efdfd3b9b4fa3dd61a99de8 | |
parent | a6b3a069c2723e321ebfb79a06026bfe97cec9e6 (diff) |
find_by_uuid method fixed
-rw-r--r-- | misc/freeswitch/scripts/dialplan/hunt_group.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/freeswitch/scripts/dialplan/hunt_group.lua b/misc/freeswitch/scripts/dialplan/hunt_group.lua index bff0a8e..8411fd5 100644 --- a/misc/freeswitch/scripts/dialplan/hunt_group.lua +++ b/misc/freeswitch/scripts/dialplan/hunt_group.lua @@ -38,7 +38,7 @@ end function HuntGroup.find_by_uuid(self, uuid) - local sql_query = 'SELECT * FROM `hunt_groups` WHERE `id`= "'.. uuid .. '" LIMIT 1'; + local sql_query = 'SELECT * FROM `hunt_groups` WHERE `uuid`= "'.. uuid .. '" LIMIT 1'; local hunt_group = nil; self.database:query(sql_query, function(entry) |