From 4db92471e1c5cedbfdf34fab35edb9404b5e7c40 Mon Sep 17 00:00:00 2001 From: Shish Date: Mon, 19 Mar 2012 14:25:43 +0000 Subject: [PATCH] 404 for no images --- ext/index/theme.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); } }