mirror of
https://github.com/Znote/ZnoteAAC.git
synced 2025-10-14 02:14:53 +02:00
Suppressed uneccesary error in change character name. myaccount.php
When you dont have ticket to do change your name, a sync error appeared, even though its not a sync error.
This commit is contained in:
@@ -94,8 +94,10 @@ if (!empty($_POST['selected_character'])) {
|
||||
|
||||
// Check if player and account matches
|
||||
if ($session_user_id != $accountId || $session_user_id != $order['account_id']) {
|
||||
if (empty($errors)) {
|
||||
$errors[] = 'Failed to sync your account. :|';
|
||||
}
|
||||
}
|
||||
|
||||
$newname = validate_name($newname);
|
||||
if ($newname === false) {
|
||||
|
Reference in New Issue
Block a user