[rss_images] fix page matching
This commit is contained in:
parent
4807064a65
commit
4544960a4b
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ class RSSImages extends Extension
|
||||||
public function onPageRequest(PageRequestEvent $event): void
|
public function onPageRequest(PageRequestEvent $event): void
|
||||||
{
|
{
|
||||||
global $config;
|
global $config;
|
||||||
if ($event->page_matches("rss/images")) {
|
if ($event->page_starts_with("rss/images")) {
|
||||||
if ($event->page_matches("rss/images/{search}/{page}")) {
|
if ($event->page_matches("rss/images/{search}/{page}")) {
|
||||||
$search_terms = Tag::explode($event->get_arg('search'));
|
$search_terms = Tag::explode($event->get_arg('search'));
|
||||||
$page_number = int_escape($event->get_arg('page'));
|
$page_number = int_escape($event->get_arg('page'));
|
||||||
|
|
Reference in a new issue