From 1e1b5ce93574c6185c1c179d85e841c1b7472f31 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Mon, 20 Sep 2021 18:50:51 +0200 Subject: [PATCH] fix function signature for put_response_headers --- calendar/inc/class.calendar_groupdav.inc.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/calendar/inc/class.calendar_groupdav.inc.php b/calendar/inc/class.calendar_groupdav.inc.php index d627d0fe7d..c169d7b720 100644 --- a/calendar/inc/class.calendar_groupdav.inc.php +++ b/calendar/inc/class.calendar_groupdav.inc.php @@ -1550,8 +1550,9 @@ class calendar_groupdav extends Api\CalDAV\Handler * @param int|string $retval * @param boolean $path_attr_is_name =true true: path_attr is ca(l|rd)dav_name, false: id (GroupDAV needs Location header) * @param string $etag =null etag, to not calculate it again (if != null) + * @param string $prefix ='' */ - function put_response_headers($entry, $path, $retval, $path_attr_is_name=true, $etag=null) + function put_response_headers($entry, $path, $retval, $path_attr_is_name=true, $etag=null, $prefix='') { $schedule_tag = null; if (!isset($etag)) $etag = $this->get_etag($entry, $schedule_tag); @@ -1560,7 +1561,7 @@ class calendar_groupdav extends Api\CalDAV\Handler { header('Schedule-Tag: "'.$schedule_tag.'"'); } - parent::put_response_headers($entry, $path, $retval, $path_attr_is_name, $etag); + parent::put_response_headers($entry, $path, $retval, $path_attr_is_name, $etag, $prefix); } /**