Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3939de28 authored by AVINASH GUSAIN's avatar AVINASH GUSAIN Committed by Akhil
Browse files

fix email patch

parent fd4a0eaf
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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);