Skip to content

Commit

Permalink
https://otland.net/threads/znote-aac-1-4-tfs-0-2-13-tfs-0-3-6-0-4.166…
Browse files Browse the repository at this point in the history
…722/page-49#post-2237486
  • Loading branch information
Znote committed May 5, 2015
1 parent f7057fe commit d1aa49d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions admin.php
Expand Up @@ -28,7 +28,7 @@
}

} else {
$errors[] = 'Character '. $_POST['ban_char'] .' does not exist.';
$errors[] = 'Character '. getValue($_POST['ban_char']) .' does not exist.';
}
}

Expand All @@ -37,9 +37,9 @@
if (empty($_POST['del_name']) === false) {
if (user_character_exist($_POST['del_name'])) {
user_delete_character(user_character_id($_POST['del_name']));
$errors[] = 'Character '. $_POST['del_name'] .' permanently deleted.';
$errors[] = 'Character '. getValue($_POST['del_name']) .' permanently deleted.';
} else {
$errors[] = 'Character '. $_POST['del_name'] .' does not exist.';
$errors[] = 'Character '. getValue($_POST['del_name']) .' does not exist.';
}
}

Expand All @@ -55,7 +55,7 @@
} else if ($config['TFSVersion'] == 'TFS_03') {
user_change_password03($acc_id, $_POST['new_pass']);
}
$errors[] = 'The password to the account of character name: '. $_POST['reset_pass'] .' has been set to: '. $_POST['new_pass'] .'.';
$errors[] = 'The password to the account of character name: '. getValue($_POST['reset_pass']) .' has been set to: '. getValue($_POST['new_pass']) .'.';
} else {
header('Location: changepassword.php');
exit();
Expand Down Expand Up @@ -100,10 +100,10 @@
$pos = $value;
}
}
$errors[] = 'Character '. $_POST['position_name'] .' recieved the ingame position: '. $pos .'.';
$errors[] = 'Character '. getValue($_POST['position_name']) .' recieved the ingame position: '. $pos .'.';
}
} else {
$errors[] = 'Character '. $_POST['position_name'] .' does not exist.';
$errors[] = 'Character '. getValue($_POST['position_name']) .' does not exist.';
}
}

Expand Down

0 comments on commit d1aa49d

Please sign in to comment.