mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-26 17:29:21 +02:00
Fixed invite to guild
This commit is contained in:
parent
0219cc7a1f
commit
45b61e5f78
@ -803,7 +803,7 @@ $guild_errors[] = 'Player with name <b>'.$name.'</b> doesn\'t exist.';
|
||||
else
|
||||
{
|
||||
$rank_of_player = $player->getRank();
|
||||
if($player_rank->isLoaded()) {
|
||||
if($rank_of_player->isLoaded()) {
|
||||
$guild_errors[] = 'Player with name <b>'.$name.'</b> is already in guild. He must leave guild before you can invite him.';
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user