Fixed sorting
authorAlexander Ebert <ebert@woltlab.com>
Wed, 1 Apr 2015 05:59:34 +0000 (07:59 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Wed, 1 Apr 2015 05:59:34 +0000 (07:59 +0200)
wcfsetup/install/files/lib/data/user/notification/UserNotificationAction.class.php

index 02dd847d1d5a8a93f73b3b4c7bc8cebf52c92b5b..2d8055b607bba699126067aac49b662f0cf2c164 100644 (file)
@@ -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;
                        }