From 7dc6feae2201d0c497bf8a2836ae4f11aab77dbf Mon Sep 17 00:00:00 2001 From: flashwave Date: Sun, 8 Nov 2015 00:24:54 +0100 Subject: [PATCH] ;_; --- _sakura/components/Users.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/_sakura/components/Users.php b/_sakura/components/Users.php index 2f79a50..228ea3b 100755 --- a/_sakura/components/Users.php +++ b/_sakura/components/Users.php @@ -723,6 +723,9 @@ class Users // Get the specified user $user = new User($uid); + // Define $current + $current = []; + // Go over all the new ranks foreach ($ranks as $rank) { // Check if the user already has this rank and set it if not