fix $filterName test wrongly taking the value from settings

This commit is contained in:
Christian Tietze 2019-08-23 18:40:09 +02:00
parent c968717dbf
commit 72b22d1b01
1 changed files with 2 additions and 2 deletions

View File

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