Skip to content

Commit

Permalink
[rss_images] fix page matching
Browse files Browse the repository at this point in the history
  • Loading branch information
shish committed Apr 8, 2024
1 parent 06a7ae5 commit 8e46a21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/rss_images/main.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public function onPostListBuilding(PostListBuildingEvent $event): void
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'));
Expand Down

0 comments on commit 8e46a21

Please sign in to comment.