Update index.lua

This commit is contained in:
FusionPBX
2017-08-27 15:16:01 -06:00
committed by GitHub
parent 8170be475b
commit 91842f30b7
@@ -359,9 +359,9 @@
cmd = "user_exists id ".. row.destination_number .." "..leg_domain_name; cmd = "user_exists id ".. row.destination_number .." "..leg_domain_name;
user_exists = api:executeString(cmd); user_exists = api:executeString(cmd);
if (user_exists == "true") then if (user_exists == "true") then
row['user_exists'] = "true"; row['user_exists'] = "true";
else else
row['user_exists'] = "false"; row['user_exists'] = "false";
end end
end end
end end