retard tutorial by @flashwave

This commit is contained in:
flash 2015-11-08 00:24:02 +01:00
parent 8398d525bd
commit f4e8ad0670

View file

@ -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;