From 02a388247e45a98d8aa292a26ebbca1e833a60d2 Mon Sep 17 00:00:00 2001 From: Cyperghost Date: Wed, 17 Jan 2024 11:01:00 +0100 Subject: [PATCH] Define some variables for backward compatibility --- com.woltlab.wcf/templates/email_dailyNotification.tpl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/com.woltlab.wcf/templates/email_dailyNotification.tpl b/com.woltlab.wcf/templates/email_dailyNotification.tpl index f452bf9aef..01c46c6847 100644 --- a/com.woltlab.wcf/templates/email_dailyNotification.tpl +++ b/com.woltlab.wcf/templates/email_dailyNotification.tpl @@ -1,3 +1,6 @@ +{if !$notificationCount|isset}{assign var=notificationCount value=$notifications|count}{/if} +{if !$maximum|isset}{assign var=maximum value=$notificationCount}{/if} +{if !$remaining|isset}{assign var=remaining value=0}{/if} {if $mimeType === 'text/plain'} {capture assign='content'} {lang}wcf.user.notification.mail.daily.plaintext.intro{/lang} -- 2.20.1