Fix. Group intercept with not empty group name (#2232)

This commit is contained in:
Alexey Melnichuk 2016-12-08 09:47:37 +03:00 committed by FusionPBX
parent 4748250f43
commit c0c6883fbc
1 changed files with 1 additions and 1 deletions

View File

@ -192,7 +192,7 @@
sql = sql .. "call_group = '' or call_group is NULL";
else
local param_name = "call_group_" .. tostring(key)
sql = sql .. "call_group = :" .. param_name;
sql = sql .. "call_group like :" .. param_name;
params[param_name] = '%' .. call_group .. '%';
end
end