mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-21 04:53:28 +02:00
Avoid globals where possible
$logged => logged() $account_logged => accountLogged()
This commit is contained in:
@@ -22,7 +22,7 @@ if(empty($errors)) {
|
||||
if(!Validator::rankName($rank_name)) {
|
||||
$errors[] = 'Invalid rank name format.';
|
||||
}
|
||||
if(!$logged) {
|
||||
if(!logged()) {
|
||||
$errors[] = 'You are not logged.';
|
||||
}
|
||||
$guild = new OTS_Guild();
|
||||
|
Reference in New Issue
Block a user