From: Cyperghost Date: Wed, 17 Jan 2024 10:01:00 +0000 (+0100) Subject: Define some variables for backward compatibility X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5094300c7847e271cf41894407f1e71fb8a931dc;p=GitHub%2FWoltLab%2FWCF.git Define some variables for backward compatibility --- 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}