forked from Cavemanon/cavepaintings
404 for no images
This commit is contained in:
@@ -59,7 +59,7 @@ and of course start organising your images :-)
|
||||
}
|
||||
}
|
||||
else {
|
||||
$page->add_block(new Block("No Images Found", "No images were found to match the search criteria"));
|
||||
$this->display_error(404, "No Images Found", "No images were found to match the search criteria");
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user