fix $filterName test wrongly taking the value from settings
This commit is contained in:
parent
c968717dbf
commit
72b22d1b01
@ -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') {
|
||||
|
Loading…
Reference in New Issue
Block a user