From 6a54ff1b9f8ec42a87821325b55292ff61fa124b Mon Sep 17 00:00:00 2001 From: Fred Boniface Date: Mon, 19 Sep 2022 20:37:58 +0100 Subject: [PATCH] Changed CLI test to test from server. --- php/submitIssue-cli-test.php | 2 +- report-issue.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/php/submitIssue-cli-test.php b/php/submitIssue-cli-test.php index f1f44d5..1f67918 100644 --- a/php/submitIssue-cli-test.php +++ b/php/submitIssue-cli-test.php @@ -13,7 +13,7 @@ // Prepare $detail to POST $body = "This is a PHP-CLI test issue."; - $subject = "Test Issue"; + $subject = "Test Issue - From PHP CLI"; echo "Prepared POST data:\nSubject: $subject\nBody:$body"; diff --git a/report-issue.php b/report-issue.php index f15d839..b484096 100644 --- a/report-issue.php +++ b/report-issue.php @@ -41,7 +41,7 @@ ); // Prepare $detail to POST - $body = "User Agent: " . $ua_str . "\n Server PHP Version: " . PHP_VERSION . "\n" . $detail; + $body = "User Agent: " . $ua_str . "\n Server PHP Version: " . PHP_VERSION . "\n\n\n" . $detail; // Prepare the request $rawData = array(