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

fix unchanged querry to fit branch

This commit is contained in:
Alex
2015-12-01 19:00:09 +03:00
parent d60a8a3f34
commit 4e34b1ebc5

View File

@@ -131,7 +131,9 @@ function display_outcomes($contacted,$ca,$case_id)
$sql = "SELECT outcome_id,description,contacted
FROM outcome
WHERE contacted = '$contacted'
AND outcome_id NOT IN(5,10,19,21,40,41,42,43,44,45)";
AND outcome_type_id != '5'
AND outcome_id IN ($outcomes)
AND outcome_id NOT IN(10,42,43,44,45)";
}
}
$rs = $db->GetAll($sql);