Merge pull request #775 from anaggh/master

Fix admin filter bug
This commit is contained in:
Diego Najar 2018-09-10 19:14:33 +03:00 committed by GitHub
commit c85f440793
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ class Site extends dbJSON {
// Also, you can get the a particular filter
public function uriFilters($filter='')
{
$filters['admin'] = '/'.ADMIN_URI_FILTER;
$filters['admin'] = '/' . ADMIN_URI_FILTER . '/';
$filters['page'] = $this->getField('uriPage');
$filters['tag'] = $this->getField('uriTag');
$filters['category'] = $this->getField('uriCategory');