From eb4d28070a9cd1453e314d856e1e550693c15ec4 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Sat, 4 Oct 2014 21:49:03 +0200 Subject: [PATCH] Added missing permission check / limit --- com.woltlab.wcf/templates/dashboardBoxTodaysBirthdays.tpl | 2 +- .../box/FollowingsOnlineSidebarDashboardBox.class.php | 3 ++- .../dashboard/box/TodaysBirthdaysDashboardBox.class.php | 2 +- .../box/TodaysFollowingBirthdaysDashboardBox.class.php | 4 ++++ .../dashboard/box/UsersOnlineSidebarDashboardBox.class.php | 2 +- 5 files changed, 9 insertions(+), 4 deletions(-) diff --git a/com.woltlab.wcf/templates/dashboardBoxTodaysBirthdays.tpl b/com.woltlab.wcf/templates/dashboardBoxTodaysBirthdays.tpl index 1252b6b21a..e756e22fae 100644 --- a/com.woltlab.wcf/templates/dashboardBoxTodaysBirthdays.tpl +++ b/com.woltlab.wcf/templates/dashboardBoxTodaysBirthdays.tpl @@ -11,7 +11,7 @@ {/foreach} -{if $birthdayUserProfiles|count >= 5} +{if $birthdayUserProfiles|count >= 10} {lang}wcf.global.button.showAll{/lang}