mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-10 19:43:16 +00:00
Fix guest allowed
This commit is contained in:
@@ -266,7 +266,7 @@ class phrasea
|
||||
$appbox = appbox::get_instance();
|
||||
$user = User_Adapter::getInstance($usr_id, $appbox);
|
||||
|
||||
return $user->ACL()->get_granted_base() > 0;
|
||||
return count($user->ACL()->get_granted_base()) > 0;
|
||||
}
|
||||
|
||||
public static function load_events()
|
||||
|
Reference in New Issue
Block a user