diff --git a/_sakura/components/Users.php b/_sakura/components/Users.php index 42b8c0f..2f79a50 100755 --- a/_sakura/components/Users.php +++ b/_sakura/components/Users.php @@ -724,7 +724,7 @@ class Users $user = new User($uid); // Go over all the new ranks - foreach ($user->ranks() as $rank) { + foreach ($ranks as $rank) { // Check if the user already has this rank and set it if not if (!in_array($rank, $current)) { $current[] = (int) $rank;