From: Marcel Werk Date: Tue, 19 Feb 2013 21:40:22 +0000 (+0100) Subject: Fixed user group cache X-Git-Tag: 2.0.0_Beta_1~466 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=fb6d9e9004d80938f51eb732c01caff798af385f;p=GitHub%2FWoltLab%2FWCF.git Fixed user group cache --- 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;