Fix bug in creating user
This commit is contained in:
parent
73cf943858
commit
5aff37ffdb
2 changed files with 4 additions and 3 deletions
|
|
@ -44,6 +44,7 @@ if ( isset ($_POST["ADD"]) )
|
|||
$login=str_replace(" ","",$login);
|
||||
$login=strtolower($login);
|
||||
$new_user->login=$login;
|
||||
$new_user->pass=$pass5;
|
||||
$new_user->email=HtmlInput::default_value_post('EMAIL','');
|
||||
if ( trim($login)=="")
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue