Browse Source

[FIX] access crits handling

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

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

@@ -1595,7 +1595,7 @@ class Utils_RecordBrowserCommon extends ModuleCommon {
}

$access_crits = ($admin || in_array($tab, $stack)) ? true : self::get_access_crits($tab, 'browse');
if ($access_crits == false) return array();
if ($access_crits === false) return array();
elseif ($access_crits !== true) {
$crits = self::merge_crits($crits, $access_crits);
}


Loading…
Cancel
Save