Force authLevel to be interpreted as integer
This commit is contained in:
parent
cb84df401a
commit
cfaa114daa
@ -373,7 +373,7 @@ class Player implements Dumpable, UsageInformationAble {
|
|||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
public function getAuthLevelName(){
|
public function getAuthLevelName(){
|
||||||
return AuthenticationManager::getAuthLevelName($this->authLevel);
|
return AuthenticationManager::getAuthLevelName(intval($this->authLevel));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -383,7 +383,7 @@ class Player implements Dumpable, UsageInformationAble {
|
|||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
public function getAuthLevelAbbreviation(){
|
public function getAuthLevelAbbreviation(){
|
||||||
return AuthenticationManager::getAuthLevelAbbreviation($this->authLevel);
|
return AuthenticationManager::getAuthLevelAbbreviation(intval($this->authLevel));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user