diff --git a/inc/CalDAVRequest.php b/inc/CalDAVRequest.php index fc494007..9420de9c 100644 --- a/inc/CalDAVRequest.php +++ b/inc/CalDAVRequest.php @@ -1107,7 +1107,7 @@ EOSQL; */ function NeedPrivilege( $privilege, $href=null ) { if ( !isset($href) ) { - if ( $request->AllowedTo($privilege) ) return; + if ( $this->AllowedTo($privilege) ) return; } $reply = new XMLDocument();