From bd4a60d5cb0216504bddfeb1d9eeca0176f76fff Mon Sep 17 00:00:00 2001 From: Fred Boniface Date: Sat, 17 Sep 2022 21:22:05 +0100 Subject: [PATCH] Initiate variable $issueData at start --- report-issue/index.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/report-issue/index.php b/report-issue/index.php index 3a73909..5db05bb 100644 --- a/report-issue/index.php +++ b/report-issue/index.php @@ -21,8 +21,9 @@ $subject = $detail = ""; $ua_str = $_SERVER["HTTP_USER_AGENT"]; - // Define response variable as blank before POSTing + // Define response variable & data variable as blank before POSTing $giteaResponse = ""; + $issueData = ""; if ($_SERVER["REQUEST_METHOD"] == "POST" ) { $subject = validate($_POST["subject"]);