2
0
mirror of https://github.com/ACSPRI/queXS synced 2024-04-02 12:12:16 +00:00

Fix for respondent selection

This commit is contained in:
Adam Zammit
2014-03-12 10:17:07 +11:00
parent db3686de2e
commit a58be39d6f

View File

@@ -3453,10 +3453,10 @@
{
$osql = "FROM operator as o, `call` as cl
WHERE o.operator_id = cl.operator_id
AND cl.case_id = '{$_SESSION['token']}'";
AND cl.call_id = '{$_SESSION['token']}'";
$rsql = "FROM respondent as r, `call` as cl
WHERE cl.case_id = '{$_SESSION['token']}'
WHERE cl.call_id = '{$_SESSION['token']}'
AND r.respondent_id = cl.respondent_id";
}
else