diff --git a/patches/015-email-mail-template.patch b/patches/015-email-mail-template.patch index 71c708d8fc2a3bf5fe24c3a31fe72291b810cfeb..d6281ed1a5f09b4b9c3b9e0fcde2cbe4f37a8c19 100644 --- a/patches/015-email-mail-template.patch +++ b/patches/015-email-mail-template.patch @@ -67,8 +67,8 @@ + if ($method !== self::METHOD_CANCEL && $method !== self::METHOD_REPLY && count($vevent)>1) { + $template->addHeadingBanner('#EFFFDB','#293618',$l10n->t('This recurring event has been updated, please review the information below:')); + } -+ $sequence = $vevent->SEQUENCE->getValue(); -+ if ($method !== self::METHOD_CANCEL && $method !== self::METHOD_REPLY && count($vevent)==1 && ($sequence > 2)) { ++ $sequence = $vevent->SEQUENCE ? $vevent->SEQUENCE->getValue() : NULL; ++ if ($sequence && $method !== self::METHOD_CANCEL && $method !== self::METHOD_REPLY && count($vevent)==1 && ($sequence > 2)) { + $template->addHeadingBanner('#EFFFDB','#293618',$l10n->t('This event has been updated, please review the information below:')); + } $this->addBulletList($template, $l10n, $vevent);