mirror of
https://github.com/ACSPRI/queXS
synced 2024-04-02 12:12:16 +00:00
Reload page after ending case to avoid duplication of GET requests
This commit is contained in:
@@ -113,7 +113,11 @@ if (isset($_GET['endcase']))
|
|||||||
|
|
||||||
$db->CompleteTrans(); //need to complete here otherwise getting the case later will fail
|
$db->CompleteTrans(); //need to complete here otherwise getting the case later will fail
|
||||||
|
|
||||||
$db->StartTrans();
|
//redirect back here
|
||||||
|
header('Location: index.php');
|
||||||
|
exit();
|
||||||
|
|
||||||
|
//$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