use TAG_URI_FILTER for tag index

This commit is contained in:
Christian Tietze 2019-08-23 18:08:11 +02:00
parent 36716c2d3b
commit 08e4421c65

View File

@ -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, '/');