From 9be2d838e52c639db8b31ede31c6845d24115ec8 Mon Sep 17 00:00:00 2001 From: Wolfgang Herget Date: Sat, 13 Jun 2009 13:40:37 +0200 Subject: [PATCH] Re-Enable empty proxy reply, limit to principal --- inc/caldav-PROPFIND.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/caldav-PROPFIND.php b/inc/caldav-PROPFIND.php index e515a724..977d0a12 100644 --- a/inc/caldav-PROPFIND.php +++ b/inc/caldav-PROPFIND.php @@ -374,7 +374,7 @@ function add_proxy_response( &$responses, $which, $parent_path ) { } else if ( $which == "write" ) { $proxy_group = $request->principal->write_proxy_group; } - if ( !isset($proxy_group) || !is_array($proxy_group) || count($proxy_group) < 1 ) { + if ($parent_path != '/'.$request->principal->username.'/') { return; // Nothing to proxy for }