Merge branch 'master' of github.com:flashwave/sakura
This commit is contained in:
commit
79c761c6e3
2 changed files with 6 additions and 5 deletions
|
@ -207,7 +207,8 @@ class User
|
|||
}
|
||||
|
||||
// Add ranks to a user
|
||||
public function addRanks($ranks) {
|
||||
public function addRanks($ranks)
|
||||
{
|
||||
// Update the ranks array
|
||||
$ranks = array_map('intval', array_unique(array_merge($this->ranks(), $ranks)));
|
||||
|
||||
|
|
Reference in a new issue