diff --git a/admin/editaccount.php b/admin/editaccount.php index 49e6aedbcd..b42e9dfeed 100755 --- a/admin/editaccount.php +++ b/admin/editaccount.php @@ -329,7 +329,7 @@ $userData = array( 'account_lid' => $account_lid, 'firstname' => $n_firstname, 'lastname' => $n_lastname, 'passwd' => $n_passwd, - 'status' => $n_status, 'old_loginid' => rawurldecode($old_loginid), + 'status' => $n_account_status, 'old_loginid' => rawurldecode($old_loginid), 'account_id' => $account_id, 'passwd_2' => $n_passwd_2, 'n_groups' => $n_groups, 'new_permissions' => $new_permissions );