Fix guest allowed

This commit is contained in:
Romain Neutron
2012-01-04 19:28:01 +01:00
parent ec78866557
commit f5be57c202

View File

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