mirror of
https://github.com/Znote/ZnoteAAC.git
synced 2025-05-02 20:29:21 +02:00
Fixed missing else in an if statement with character soft deletion code.
This commit is contained in:
parent
5f4372daa2
commit
4d09983cce
@ -34,7 +34,7 @@ if (!empty($_POST['selected_delete'])) {
|
||||
if (!user_is_online_10($charid)) {
|
||||
if (guild_leader_gid($charid) === false) user_delete_character_soft($charid);
|
||||
else echo 'Character is leader of a guild, you must disband the guild or change leadership before deleting character.';
|
||||
} echo 'Character must be offline first.';
|
||||
} else echo 'Character must be offline first.';
|
||||
} else {
|
||||
$chr_data = user_character_data($charid, 'online');
|
||||
if ($chr_data['online'] != 1) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user