check_view_access() returns true if advanced access is turned off

This commit is contained in:
Uwe Steinmann 2016-04-20 18:09:05 +02:00
parent ea4d3d782c
commit 8a08cc3bff

View File

@ -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)) {