Browse Source

[FIX] access of 'browse'

experimental
Georgi Hristov 2 years ago
parent
commit
a35968e2a8
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      modules/Utils/RecordBrowser/Access.php

+ 1
- 1
modules/Utils/RecordBrowser/Access.php View File

@@ -55,7 +55,7 @@ class Utils_RecordBrowser_Access

if ($this->isFullDeny()) return false;
if ($this->action === 'browse') return $this->getCritsRaw() !== null ? true: false;
if ($this->action === 'browse') return $this->getCritsRaw() !== null && $this->getCritsRaw() !== false ? true: false;

if ($this->getActiveGrantRules() === false) return false;


Loading…
Cancel
Save