diff --git a/myaccount.php b/myaccount.php index fa93f1b..c3f5a43 100644 --- a/myaccount.php +++ b/myaccount.php @@ -94,7 +94,9 @@ if (!empty($_POST['selected_character'])) { // Check if player and account matches if ($session_user_id != $accountId || $session_user_id != $order['account_id']) { - $errors[] = 'Failed to sync your account. :|'; + if (empty($errors)) { + $errors[] = 'Failed to sync your account. :|'; + } } $newname = validate_name($newname); @@ -241,7 +243,7 @@ if ($render_page) {

My account

Welcome to your account page,