From fb6d9e9004d80938f51eb732c01caff798af385f Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Tue, 19 Feb 2013 22:40:22 +0100 Subject: [PATCH] Fixed user group cache --- wcfsetup/install/files/lib/data/user/User.class.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wcfsetup/install/files/lib/data/user/User.class.php b/wcfsetup/install/files/lib/data/user/User.class.php index ef016d7fdf..76cf860842 100644 --- a/wcfsetup/install/files/lib/data/user/User.class.php +++ b/wcfsetup/install/files/lib/data/user/User.class.php @@ -174,6 +174,8 @@ final class User extends DatabaseObject implements IRESTfulResponse, IRouteContr $this->groupIDs = unserialize($data[$this->userID]); } } + + sort($this->groupIDs, SORT_NUMERIC); } return $this->groupIDs; -- 2.20.1