diff --git a/account.php b/account.php index 9673a8e..0343fc6 100644 --- a/account.php +++ b/account.php @@ -93,7 +93,8 @@ function cmd_do_new() retry("new", "Passwords don't match"); return; } - if(!isset($_POST['ext_realname'])) + $_POST['ext_realname']=trim($_POST['ext_realname']); + if(empty($_POST['ext_realname'])) { retry("new", "You don't have a Real name?"); return;