From 08e4421c657e7b174d6560a160164acba4c4c693 Mon Sep 17 00:00:00 2001 From: Christian Tietze Date: Fri, 23 Aug 2019 18:08:11 +0200 Subject: [PATCH] use TAG_URI_FILTER for tag index --- bl-kernel/url.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bl-kernel/url.class.php b/bl-kernel/url.class.php index f7a65628..7d1e8e65 100644 --- a/bl-kernel/url.class.php +++ b/bl-kernel/url.class.php @@ -71,8 +71,8 @@ class Url $this->setWhereAmI('home'); } elseif (!empty($this->slug) && ($filterURI=='/')) { $this->setWhereAmI('page'); - } elseif (empty($this->slug) && ($filterName=='tag')) { - $this->slug = 'tag'; + } elseif (empty($this->slug) && ($filterName==TAG_URI_FILTER)) { + $this->slug = TAG_URI_FILTER; $this->setWhereAmI('page'); } elseif ($filterName=='admin') { $this->slug = ltrim($this->slug, '/');