php-integration #21

Closed
fred.boniface wants to merge 146 commits from php-integration into main
1 changed files with 2 additions and 1 deletions
Showing only changes of commit 93f3939428 - Show all commits

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