change soft 404 nito hard 404

This commit is contained in:
Martin Monperrus
2024-07-03 09:56:40 +02:00
parent 50acc08a34
commit bf146c7606
+1
View File
@@ -3398,6 +3398,7 @@ function nonExistentBibEntryError() {
/** handles queries with no result */
class NotFoundDisplay {
function display() {
header('HTTP/1.1 404 Not found');
echo '<span class="count">'.__('Sorry, no results for this query').'</span>';
}
}