diff --git a/html/user/account_finish_action.php b/html/user/account_finish_action.php index 7380ee9179..f212e332b9 100644 --- a/html/user/account_finish_action.php +++ b/html/user/account_finish_action.php @@ -26,7 +26,7 @@ $name = post_str("name"); if (strlen($name)==0) { error_page(tra("You must supply a name for your account")); } -if ($new_name != sanitize_tags($new_name)) { +if ($name != sanitize_tags($name)) { error_page(tra("HTML tags not allowed in name")); }