Define some variables for backward compatibility
authorCyperghost <olaf_schmitz_1@t-online.de>
Wed, 17 Jan 2024 10:01:00 +0000 (11:01 +0100)
committerOlaf Braun <info@braun-development.de>
Thu, 7 Mar 2024 15:36:30 +0000 (16:36 +0100)
com.woltlab.wcf/templates/email_dailyNotification.tpl

index f452bf9aefe99fd2da6bca625e0fb90bfbd24259..01c46c6847cf83017db20d076d3887326a71a7db 100644 (file)
@@ -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}