From 4544960a4b35469f032c579c0d12afb880afb15c Mon Sep 17 00:00:00 2001 From: Shish Date: Mon, 8 Apr 2024 21:19:18 +0100 Subject: [PATCH] [rss_images] fix page matching --- ext/rss_images/main.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/rss_images/main.php b/ext/rss_images/main.php index 774ba440..18434c88 100644 --- a/ext/rss_images/main.php +++ b/ext/rss_images/main.php @@ -24,7 +24,7 @@ class RSSImages extends Extension public function onPageRequest(PageRequestEvent $event): void { global $config; - if ($event->page_matches("rss/images")) { + if ($event->page_starts_with("rss/images")) { if ($event->page_matches("rss/images/{search}/{page}")) { $search_terms = Tag::explode($event->get_arg('search')); $page_number = int_escape($event->get_arg('page'));