mirror of
https://github.com/ACSPRI/queXS
synced 2024-04-02 12:12:16 +00:00
Added transactions
This commit is contained in:
4
call.php
4
call.php
@@ -141,6 +141,7 @@ function display_outcomes($contacted,$ca,$case_id)
|
||||
|
||||
global $db;
|
||||
|
||||
$db->StartTrans();
|
||||
|
||||
$operator_id = get_operator_id();
|
||||
|
||||
@@ -201,6 +202,7 @@ if (isset($_POST['submit']))
|
||||
|
||||
print "<p></p>"; //for XHTML
|
||||
xhtml_foot();
|
||||
$db->CompleteTrans();
|
||||
exit();
|
||||
}
|
||||
|
||||
@@ -432,6 +434,6 @@ switch($state)
|
||||
|
||||
|
||||
xhtml_foot();
|
||||
|
||||
$db->CompleteTrans();
|
||||
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user