Skip to content

Commit

Permalink
Update search.php
Browse files Browse the repository at this point in the history
  • Loading branch information
rickbot-dot authored Jul 29, 2023
1 parent c5418b1 commit 3d33143
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion search.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
$search = mysqli_real_escape_string($conn, $_POST["search"]);

// Ensure that the user provided a search query to Bugkiller
if (str_replace(' ', '', $search); == "") {
if (str_replace(' ', '', $search) == "") {
echo "Please provide a search query.";
exit;
}
Expand Down

0 comments on commit 3d33143

Please sign in to comment.