diff --git a/ext/rss_images/main.php b/ext/rss_images/main.php index cc4e0213..1e14e9b7 100644 --- a/ext/rss_images/main.php +++ b/ext/rss_images/main.php @@ -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); }