diff --git a/resources/install/scripts/app/dialplan/resources/inbound/010_get_domain.lua.noload b/resources/install/scripts/app/dialplan/resources/inbound/010_get_domain.lua.noload index 9d55c1bcdc..3c3ec22381 100644 --- a/resources/install/scripts/app/dialplan/resources/inbound/010_get_domain.lua.noload +++ b/resources/install/scripts/app/dialplan/resources/inbound/010_get_domain.lua.noload @@ -52,7 +52,7 @@ sql = sql .. "AND n.destination_type = 'inbound' " sql = sql .. "AND n.domain_uuid = d.domain_uuid " --freeswitch.consoleLog("notice", "SQL:" .. sql .. "\n"); - assert(dbh:query(sql, function(row) + dbh:query(sql, function(row) --set the local variables domain_uuid = row.domain_uuid; domain_name = row.domain_name; @@ -75,7 +75,7 @@ --set the source source = "database"; - end)); + end); else --add the function