From: Cyperghost Date: Wed, 17 Jan 2024 10:01:00 +0000 (+0100) Subject: Define some variables for backward compatibility X-Git-Tag: 6.0.7_dev_1~14^2~1 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=02a388247e45a98d8aa292a26ebbca1e833a60d2;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}