From d7d31de3104ed0b573efdcaf44087a7e3bc83109 Mon Sep 17 00:00:00 2001 From: Tobias Nteireho Date: Wed, 18 Sep 2024 15:30:58 -0500 Subject: [PATCH] improve reporting --- bad-answer-alert.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/bad-answer-alert.php b/bad-answer-alert.php index d7393290..90190a3d 100644 --- a/bad-answer-alert.php +++ b/bad-answer-alert.php @@ -28,16 +28,17 @@ function checkRequest($keys, $user_agent){ die(); } -$interviewtitle= ($_REQUEST["interviewtitle"]); -$viewerversion= ($_REQUEST["viewerversion"]); -$variables = ($_REQUEST["type"]); -$authoremail = ($_REQUEST["authoremail"]); +$interviewtitle= ($_REQUEST["guideTitle"]); +$viewerversion= ($_REQUEST["guideTitle"]); +$variables = ($_REQUEST["invalidAnswers"]); +$authorid = ($_REQUEST["authorid"]); $created=$now=date("Y-m-d-H-i-s"); $message=" An A2J user has submitted an answerset with invalid dates or numbers: