mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-11 03:53:13 +00:00
Fix guest allowed
This commit is contained in:
@@ -266,7 +266,7 @@ class phrasea
|
|||||||
$appbox = appbox::get_instance();
|
$appbox = appbox::get_instance();
|
||||||
$user = User_Adapter::getInstance($usr_id, $appbox);
|
$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()
|
public static function load_events()
|
||||||
|
Reference in New Issue
Block a user