mirror of
https://github.com/Znote/ZnoteAAC.git
synced 2025-07-03 02:00:15 +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:
parent
7f1a4af7d2
commit
8a8baba9fc
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user