Compare commits

..

No commits in common. "93f393942835d0d5fd346f9efc244b1287df7eb5" and "f566d039abd627aa1245133c35b8551796f75439" have entirely different histories.

1 changed files with 2 additions and 4 deletions

View File

@ -17,15 +17,13 @@
<body> <body>
<?php <?php
// Define form variables and set to empty values (or to the UA) // define form variables and set to empty values (or to the UA)
$subject = $detail = ""; $subject = $detail = "";
$ua_str = $_SERVER["HTTP_USER_AGENT"]; $ua_str = $_SERVER["HTTP_USER_AGENT"];
// Define response variable & data variable as blank before POSTing // Define response variable as blank before POSTing
$giteaResponse = ""; $giteaResponse = "";
$issueData = "";
// If the page is loading after submission then run this:
if ($_SERVER["REQUEST_METHOD"] == "POST" ) { if ($_SERVER["REQUEST_METHOD"] == "POST" ) {
$subject = validate($_POST["subject"]); $subject = validate($_POST["subject"]);
$detail = validate($_POST["detail"]); $detail = validate($_POST["detail"]);