2
0
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:
Adam Zammit
2017-04-04 11:26:33 +10:00
parent 61dcf48f0e
commit 234d9ddb2f

View File

@@ -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();}
} }