404 for no images

This commit is contained in:
Shish 2012-03-19 14:25:43 +00:00
parent e8b0e36b48
commit 4db92471e1

View File

@ -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");
}
}