fix error when empty query + displays are case insensitive

This commit is contained in:
root 2025-02-20 08:21:54 +01:00
parent b03983b99d
commit d81173a488
2 changed files with 4 additions and 10 deletions

View file

@ -84,9 +84,8 @@ require("header.php");
// only display the results of unverified.csv that matches with the search term
}
else{ // if query length is less than minimum or more than maximum
echo '</br></br><img src="img/logo-large.png" class="width: 100%"><p>Search query must be between '.$min_length . " and ".$max_length . " characters.</p>";
// TODO list the available categories
else { // if query length is less than minimum or more than maximum
echo '</br></br><img src="img/logo-large.png"><p>Search query must be between ' . $min_length . " and " . $max_length . " characters.</p>";
}
?>
</div>