Skip to content

Commit

Permalink
Update reportbug.php
Browse files Browse the repository at this point in the history
  • Loading branch information
rickbot-dot authored Jul 2, 2023
1 parent 38ec0a4 commit e40912d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions reportbug.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
$skipcreate = true;
}
if ($_POST['captcha'] != $_SESSION['captcha']) {
echo "Incorrect or missing captcha.";
$skipcreate = tue;
echo "Incorrect or missing captcha. The correct code is: " . $_SESSION['captcha'];
$skipcreate = true;
}
// Execute the SQL statement
if ($skipcreate == false) {
Expand Down

0 comments on commit e40912d

Please sign in to comment.