diff --git a/ext/index/theme.php b/ext/index/theme.php index bb6b1969..55cc3db4 100644 --- a/ext/index/theme.php +++ b/ext/index/theme.php @@ -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"); } }