mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-06-18 02:59:27 +00:00
check_view_access() returns true if advanced access is turned off
This commit is contained in:
parent
ea4d3d782c
commit
8a08cc3bff
|
@ -361,7 +361,7 @@ class SeedDMS_AccessOperation {
|
|||
*/
|
||||
function check_view_access($view, $get=array()) { /* {{{ */
|
||||
if(!$this->settings->_advancedAcl)
|
||||
return false;
|
||||
return true;
|
||||
if(is_string($view)) {
|
||||
$scripts = array($view);
|
||||
} elseif(is_array($view)) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user