From 4809ca1d5b3f6687e852d876707ac92639f53d25 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Wed, 1 Apr 2015 07:59:34 +0200 Subject: [PATCH] Fixed sorting --- .../lib/data/user/notification/UserNotificationAction.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/data/user/notification/UserNotificationAction.class.php b/wcfsetup/install/files/lib/data/user/notification/UserNotificationAction.class.php index 02dd847d1d..2d8055b607 100644 --- a/wcfsetup/install/files/lib/data/user/notification/UserNotificationAction.class.php +++ b/wcfsetup/install/files/lib/data/user/notification/UserNotificationAction.class.php @@ -112,7 +112,7 @@ class UserNotificationAction extends AbstractDatabaseObjectAction { ); } - uksort($notifications, function ($a, $b) { + uasort($notifications, function ($a, $b) { if ($a['object']->notificationID == $b['object']->notificationID) { return 0; } -- 2.20.1