Clarification of comments

This commit is contained in:
Fred Boniface 2022-09-17 21:29:35 +01:00
parent bd4a60d5cb
commit 93f3939428

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"]);