Initiate variable $issueData at start

This commit is contained in:
Fred Boniface 2022-09-17 21:22:05 +01:00
parent f566d039ab
commit bd4a60d5cb
1 changed files with 2 additions and 1 deletions

View File

@ -21,8 +21,9 @@
$subject = $detail = ""; $subject = $detail = "";
$ua_str = $_SERVER["HTTP_USER_AGENT"]; $ua_str = $_SERVER["HTTP_USER_AGENT"];
// Define response variable as blank before POSTing // Define response variable & data variable as blank before POSTing
$giteaResponse = ""; $giteaResponse = "";
$issueData = "";
if ($_SERVER["REQUEST_METHOD"] == "POST" ) { if ($_SERVER["REQUEST_METHOD"] == "POST" ) {
$subject = validate($_POST["subject"]); $subject = validate($_POST["subject"]);