diff --git a/htdocs/collection.php b/htdocs/collection.php index a8951de2..3eac0a49 100644 --- a/htdocs/collection.php +++ b/htdocs/collection.php @@ -46,4 +46,3 @@ include("page-header.php"); echo $browser->Render(); include("page-footer.php"); -?> diff --git a/inc/CalDAVPrincipal.php b/inc/CalDAVPrincipal.php index 8c8c058a..d9ae6959 100644 --- a/inc/CalDAVPrincipal.php +++ b/inc/CalDAVPrincipal.php @@ -234,7 +234,7 @@ class CalDAVPrincipal } } - dbg_error_log( 'principal', 'User: %s (%d) URL: %s, Home: %s, By Email: %d', $this->username, $this->user_no, $this->url, $this->calendar_home_set, $this->by_email ); + dbg_error_log( 'principal', ' User: %s (%d) URL: %s, Home: %s, By Email: %d', $this->username, $this->user_no, $this->url, $this->calendar_home_set, $this->by_email ); } diff --git a/inc/CalDAVRequest.php b/inc/CalDAVRequest.php index 2af6617e..27e9b664 100644 --- a/inc/CalDAVRequest.php +++ b/inc/CalDAVRequest.php @@ -232,6 +232,7 @@ class CalDAVRequest $this->collection_id = $row->collection_id; $this->collection_path = $row->dav_name; + $this->collection_type = ($row->is_calendar == 't' ? 'calendar' : 'collection'); $this->collection = $row; } else if ( preg_match( '#^((/[^/]+/)\.(in|out)/)[^/]*$#', $this->path, $matches ) ) {