mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-05-24 02:24:39 +00:00
fixed uninitialized principal object for calendar-proxy-* queries
This commit is contained in:
parent
08cc16074d
commit
7a05f2b7d7
@ -1681,6 +1681,7 @@ EOQRY;
|
|||||||
if ( isset($c->disable_caldav_proxy) && $c->disable_caldav_proxy ) return false;
|
if ( isset($c->disable_caldav_proxy) && $c->disable_caldav_proxy ) return false;
|
||||||
if ( !isset($proxy_type) ) $proxy_type = 'write';
|
if ( !isset($proxy_type) ) $proxy_type = 'write';
|
||||||
// ProxyFor is an already constructed URL
|
// ProxyFor is an already constructed URL
|
||||||
|
$this->FetchPrincipal();
|
||||||
$reply->CalendarserverElement($prop, 'calendar-proxy-'.$proxy_type.'-for', $reply->href( $this->principal->ProxyFor($proxy_type) ) );
|
$reply->CalendarserverElement($prop, 'calendar-proxy-'.$proxy_type.'-for', $reply->href( $this->principal->ProxyFor($proxy_type) ) );
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user