Fixed user group cache
authorMarcel Werk <burntime@woltlab.com>
Tue, 19 Feb 2013 21:40:22 +0000 (22:40 +0100)
committerMarcel Werk <burntime@woltlab.com>
Tue, 19 Feb 2013 21:40:22 +0000 (22:40 +0100)
wcfsetup/install/files/lib/data/user/User.class.php

index ef016d7fdf663424cc3d818e9de91740138b87bd..76cf860842de2064c3efd47b12ae839bf3570893 100644 (file)
@@ -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;