From 2cf7339796c324d23f2fb778cc157ceb6e6947dc Mon Sep 17 00:00:00 2001 From: Christian Tietze Date: Fri, 23 Aug 2019 18:09:17 +0200 Subject: [PATCH] add category index page fallback --- bl-kernel/url.class.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bl-kernel/url.class.php b/bl-kernel/url.class.php index 7d1e8e65..de712ed4 100644 --- a/bl-kernel/url.class.php +++ b/bl-kernel/url.class.php @@ -74,6 +74,9 @@ class Url } elseif (empty($this->slug) && ($filterName==TAG_URI_FILTER)) { $this->slug = TAG_URI_FILTER; $this->setWhereAmI('page'); + } elseif (empty($this->slug) && ($filterName==CATEGORY_URI_FILTER)) { + $this->slug = CATEGORY_URI_FILTER; + $this->setWhereAmI('page'); } elseif ($filterName=='admin') { $this->slug = ltrim($this->slug, '/'); }