Skip to content

Commit

Permalink
Merge pull request #36898 from nextcloud/fix/36897/recipient-name-string
Browse files Browse the repository at this point in the history
fix(caldav): convert iMip recipient name to a string
  • Loading branch information
st3iny authored Feb 28, 2023
2 parents eac542d + 2c0d89e commit 7c477d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/dav/lib/CalDAV/Schedule/IMipPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ public function schedule(Message $iTipMessage) {
$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();
Expand Down

0 comments on commit 7c477d4

Please sign in to comment.