diff --git a/inc/CalDAVPrincipal.php b/inc/CalDAVPrincipal.php index 69cb1d2d..1e1ee89f 100644 --- a/inc/CalDAVPrincipal.php +++ b/inc/CalDAVPrincipal.php @@ -411,6 +411,7 @@ class CalDAVPrincipal * Return the privileges bits for the current session user to this resource */ function Privileges() { + if ( is_string($this->privileges) ) $this->privileges = bindec( $this->privileges ); return $this->privileges; }