mirror of
https://github.com/ACSPRI/queXS
synced 2024-04-02 12:12:16 +00:00
Bug found by Saulius - case not ending when out of time
This commit is contained in:
@@ -85,6 +85,9 @@ if (isset($_GET['endcase']))
|
|||||||
end_call_attempt($operator_id);
|
end_call_attempt($operator_id);
|
||||||
end_case($operator_id);
|
end_case($operator_id);
|
||||||
|
|
||||||
|
$db->CompleteTrans(); //need to complete here otherwise getting the case later will fail
|
||||||
|
|
||||||
|
$db->StartTrans();
|
||||||
//if ($db->HasFailedTrans()) {print "<p>FAILED AT ENDCASE</p>"; exit();}
|
//if ($db->HasFailedTrans()) {print "<p>FAILED AT ENDCASE</p>"; exit();}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user