From 9eb76822ceab35a1afa2d4828232e71365728ce4 Mon Sep 17 00:00:00 2001 From: Andrew McMillan Date: Sat, 26 Dec 2009 11:23:30 +1300 Subject: [PATCH] Fix cut and paste error. --- inc/CalDAVRequest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();