Clarification of comments
This commit is contained in:
parent
bd4a60d5cb
commit
93f3939428
@ -17,7 +17,7 @@
|
|||||||
<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"];
|
||||||
|
|
||||||
@ -25,6 +25,7 @@
|
|||||||
$giteaResponse = "";
|
$giteaResponse = "";
|
||||||
$issueData = "";
|
$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"]);
|
||||||
|
Reference in New Issue
Block a user