From 126da79b2987180c9c99a23fe2ca3904ce6ecdee Mon Sep 17 00:00:00 2001 From: Dany De Bontridder Date: Fri, 9 Feb 2018 18:31:47 +0100 Subject: [PATCH] bug: cannot create user --- include/user.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/user.inc.php b/include/user.inc.php index 1e91f8ce0..1d1c97aa9 100644 --- a/include/user.inc.php +++ b/include/user.inc.php @@ -47,7 +47,7 @@ if ( isset ($_POST["ADD"]) ) $login=strtolower($login); $new_user->login=$login; $new_user->pass=$pass5; - $new_user->email=$http->post('EMAIL',''); + $new_user->email=$http->post('EMAIL',"string",''); if ( trim($login)=="") { alert(_("Le login ne peut pas ĂȘtre vide"));