From f4e8ad0670bb3c2a55755c328f01cd1a3196ef35 Mon Sep 17 00:00:00 2001 From: flashwave Date: Sun, 8 Nov 2015 00:24:02 +0100 Subject: [PATCH] retard tutorial by @flashwave --- _sakura/components/Users.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;