Increased number of notifications in interactive drop down
authorMarcel Werk <burntime@woltlab.com>
Thu, 26 May 2016 22:22:27 +0000 (00:22 +0200)
committerMarcel Werk <burntime@woltlab.com>
Thu, 26 May 2016 22:23:03 +0000 (00:23 +0200)
wcfsetup/install/files/lib/system/user/notification/UserNotificationHandler.class.php

index b4ca4c369f7120df2377b2523fda273c092e9af9..c0c8cee6a4a496a02200e23de18e35fe27c972c5 100644 (file)
@@ -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));