diff --git a/api/src/Mail.php b/api/src/Mail.php index b6fa042894..840a361e0a 100644 --- a/api/src/Mail.php +++ b/api/src/Mail.php @@ -4918,7 +4918,8 @@ class Mail switch($_structure->getSubType()) { case 'calendar': - // this is handeled in getTextPart + $calendar_part = $_structure; + // fall through in case user has no calendar rights case 'html': case 'plain': default: