From 188587d9bdc4998f90998f755f6dd26ab4bc35f2 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Fri, 27 May 2016 00:22:27 +0200 Subject: [PATCH] Increased number of notifications in interactive drop down --- .../user/notification/UserNotificationHandler.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wcfsetup/install/files/lib/system/user/notification/UserNotificationHandler.class.php b/wcfsetup/install/files/lib/system/user/notification/UserNotificationHandler.class.php index b4ca4c369f..c0c8cee6a4 100644 --- a/wcfsetup/install/files/lib/system/user/notification/UserNotificationHandler.class.php +++ b/wcfsetup/install/files/lib/system/user/notification/UserNotificationHandler.class.php @@ -322,11 +322,11 @@ class UserNotificationHandler extends SingletonFactory { $notifications = []; if ($notificationCount > 0) { - $notifications = $this->fetchNotifications(5, 0, 0); + $notifications = $this->fetchNotifications(10, 0, 0); } $count = count($notifications); - $limit = 5 - $count; + $limit = 10 - $count; if ($limit) { $notifications = array_merge($notifications, $this->fetchNotifications($limit, 0, 1)); -- 2.20.1