From: Marcel Werk Date: Thu, 26 May 2016 22:22:27 +0000 (+0200) Subject: Increased number of notifications in interactive drop down X-Git-Tag: 3.0.0_Beta_1~1615 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=188587d9bdc4998f90998f755f6dd26ab4bc35f2;p=GitHub%2FWoltLab%2FWCF.git Increased number of notifications in interactive drop down --- 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));