diff --git a/issue.php b/issue.php index 73afc0d..54c9601 100644 --- a/issue.php +++ b/issue.php @@ -13,7 +13,7 @@ require './php/submitIssue.php'; // Set initial values - $subject = $detail = ""; + $title = $detail = ""; $ua_str = $_SERVER["HTTP_USER_AGENT"]; // If the page has been POSTed to then run this: @@ -42,7 +42,7 @@
" method="post"> Subject:
- +

Details: diff --git a/php/submitIssue.php b/php/submitIssue.php index e501c05..c73ac58 100644 --- a/php/submitIssue.php +++ b/php/submitIssue.php @@ -15,7 +15,7 @@ function sendInput($title,$body) { // Prepare the request $rawData = array( 'body' => $body, - 'title' => $subject + 'title' => $title ); $preparedData = json_encode($rawData);