retard tutorial by @flashwave
This commit is contained in:
parent
8398d525bd
commit
f4e8ad0670
1 changed files with 1 additions and 1 deletions
|
@ -724,7 +724,7 @@ class Users
|
||||||
$user = new User($uid);
|
$user = new User($uid);
|
||||||
|
|
||||||
// Go over all the new ranks
|
// 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
|
// Check if the user already has this rank and set it if not
|
||||||
if (!in_array($rank, $current)) {
|
if (!in_array($rank, $current)) {
|
||||||
$current[] = (int) $rank;
|
$current[] = (int) $rank;
|
||||||
|
|
Reference in a new issue