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
1 changed files with 2 additions and 2 deletions

View File

@ -71,8 +71,8 @@ class Url
$this->setWhereAmI('home'); $this->setWhereAmI('home');
} elseif (!empty($this->slug) && ($filterURI=='/')) { } elseif (!empty($this->slug) && ($filterURI=='/')) {
$this->setWhereAmI('page'); $this->setWhereAmI('page');
} elseif (empty($this->slug) && ($filterName=='tag')) { } elseif (empty($this->slug) && ($filterName==TAG_URI_FILTER)) {
$this->slug = 'tag'; $this->slug = TAG_URI_FILTER;
$this->setWhereAmI('page'); $this->setWhereAmI('page');
} elseif ($filterName=='admin') { } elseif ($filterName=='admin') {
$this->slug = ltrim($this->slug, '/'); $this->slug = ltrim($this->slug, '/');