From 0ad8f10ba40ae46b6ce154b4e753f3167ad002ea Mon Sep 17 00:00:00 2001 From: Anton Shumeika Date: Fri, 25 Oct 2019 21:39:15 +0200 Subject: [PATCH] removing spaces from emails in Dutch names --- uinames.com/api/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uinames.com/api/index.php b/uinames.com/api/index.php index df97ae5..1408e8f 100644 --- a/uinames.com/api/index.php +++ b/uinames.com/api/index.php @@ -88,7 +88,7 @@ function generate_ext_result($result) { } else { $email = strtolower($name . $separation[rand(0,3)] . $surname); } - $result['email'] = "$email@example.com"; + $result['email'] = str_replace(" ", $separation[rand(0,3)], $email) . "@example.com"; // password $signs = ['!','@','#','$','%','^','&','*','(',')','{','}','~','+','=','_',''];