This commit is contained in:
Shish 2021-11-16 14:43:54 +00:00
parent 23d160cb33
commit 0f708e7a1b

View file

@ -31,7 +31,7 @@ class RSSImages extends Extension
$images = Image::find_images(($page_number-1)*$page_size, $page_size, $search_terms);
$this->do_rss($images, $search_terms, $page_number);
} catch (SearchTermParseException $stpe) {
$this->theme->display_error(400, "Search parse error", $pde->error);
$this->theme->display_error(400, "Search parse error", $stpe->error);
} catch (PermissionDeniedException $pde) {
$this->theme->display_error(403, "Permission denied", $pde->error);
}