diff --git a/src/web/php/record/update_typing_exam_record.php b/src/web/php/record/update_typing_exam_record.php index 9aa1500..5306f8f 100644 --- a/src/web/php/record/update_typing_exam_record.php +++ b/src/web/php/record/update_typing_exam_record.php @@ -5,7 +5,7 @@ $maestroID = $_POST["maestroID"]; $playerID = $_POST["playerID"]; $writingID = $_POST["writingID"]; $record = $_POST["record"]; -$isPrevHourFlag = $_POST["isPrevHourFlag"]; +$isPrevHourFlag = isset($_POST["isPrevHourFlag"]) ? $_POST["isPrevHourFlag"] : null; // $isPrevHourFlag is for only TDD (addPrevHourTypingExamRecord) include "./../lib/json_builder.php";