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:
@@ -26,7 +26,7 @@ if(empty($guild_errors)) {
|
||||
}
|
||||
}
|
||||
if(empty($guild_errors)) {
|
||||
if($logged) {
|
||||
if(logged()) {
|
||||
$guild_leader_char = $guild->getOwner();
|
||||
$rank_list = $guild->getGuildRanksList();
|
||||
$rank_list->orderBy('level', POT::ORDER_DESC);
|
||||
|
Reference in New Issue
Block a user