diff options
author | Richard Steinmetz <richard@steinmetz.cloud> | 2023-02-28 14:43:47 +0100 |
---|---|---|
committer | Richard Steinmetz <richard@steinmetz.cloud> | 2023-02-28 15:20:58 +0100 |
commit | 2c0d89e56a3655a1604aaf8dc72b7234e7f7aa15 (patch) | |
tree | 77efc760d91e56beb69b6710ba7a99e75d865653 /apps | |
parent | a3ab0ce5d5ecb272d959b5c060f8ef066c24ced9 (diff) | |
download | nextcloud-server-2c0d89e56a3655a1604aaf8dc72b7234e7f7aa15.tar.gz nextcloud-server-2c0d89e56a3655a1604aaf8dc72b7234e7f7aa15.zip |
fix(caldav): convert iMip recipient name to a string
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
Diffstat (limited to 'apps')
-rw-r--r-- | apps/dav/lib/CalDAV/Schedule/IMipPlugin.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/lib/CalDAV/Schedule/IMipPlugin.php b/apps/dav/lib/CalDAV/Schedule/IMipPlugin.php index d4c2976fc1a..646cf0f831a 100644 --- a/apps/dav/lib/CalDAV/Schedule/IMipPlugin.php +++ b/apps/dav/lib/CalDAV/Schedule/IMipPlugin.php @@ -173,7 +173,7 @@ class IMipPlugin extends SabreIMipPlugin { $iTipMessage->scheduleStatus = '5.0; EMail delivery failed'; return; } - $recipientName = $iTipMessage->recipientName ?: null; + $recipientName = $iTipMessage->recipientName ? (string)$iTipMessage->recipientName : null; $newEvents = $iTipMessage->message; $oldEvents = $this->getVCalendar(); |