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