Clarification of comments

This commit is contained in:
Fred Boniface 2022-09-17 21:29:35 +01:00
parent bd4a60d5cb
commit 93f3939428
1 changed files with 2 additions and 1 deletions

View File

@ -17,7 +17,7 @@
<body>
<?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 = "";
$ua_str = $_SERVER["HTTP_USER_AGENT"];
@ -25,6 +25,7 @@
$giteaResponse = "";
$issueData = "";
// If the page is loading after submission then run this:
if ($_SERVER["REQUEST_METHOD"] == "POST" ) {
$subject = validate($_POST["subject"]);
$detail = validate($_POST["detail"]);