Missing space (#4893)

This commit is contained in:
Luis Daniel Lucio Quiroz 2019-11-22 21:33:57 -05:00 committed by FusionPBX
parent 3d4d02d449
commit a875676dd2
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@
sql = "SELECT v_contacts.contact_name_given || ' ' || v_contacts.contact_name_family AS name FROM v_contacts ";
end
sql = sql .. "INNER JOIN v_contact_phones ON v_contact_phones.contact_uuid = v_contacts.contact_uuid ";
sql = sql .. "INNER JOIN v_destinations ON v_destinations.domain_uuid = v_contacts.domain_uuid AND v_destinations.destination_number = :caller";
sql = sql .. "INNER JOIN v_destinations ON v_destinations.domain_uuid = v_contacts.domain_uuid AND v_destinations.destination_number = :caller ";
local params;
if ((not domain_uuid) or (domain_uuid == "")) then