3
0
Fork 0
mirror of https://github.com/fsr/eseeva synced 2025-04-28 09:28:31 +02:00

change pre state to issued

This commit is contained in:
sjaster 2017-09-28 17:43:52 +02:00
parent fd3233b5ca
commit a9e172bc25
2 changed files with 3 additions and 3 deletions

View file

@ -23,7 +23,7 @@
// if the submission ids of the post and the form don't match, the
// user has refreshed the site and thus its reseted to the default state
if (isset($_SESSION["submissionId"]) && ($_SESSION["submissionId"] == $_POST["submissionId"]))
if (isset($_SESSION["submissionId"]) && isset($_POST['submissionId']) && ($_SESSION["submissionId"] == $_POST["submissionId"]))
{
//user changes the states of some keys or deletes keys
if (isset($_POST["changesConfirm"]))