diff --git a/htdocs/user/fiche.php b/htdocs/user/fiche.php index a95cdf318ef..5f88dfe5e2e 100644 --- a/htdocs/user/fiche.php +++ b/htdocs/user/fiche.php @@ -1,5 +1,5 @@ +/* Copyright (C) 2002-2004 Rodolphe Quiedeville * Copyright (C) 2002-2003 Jean-Louis Bergamo * * This program is free software; you can redistribute it and/or modify @@ -61,9 +61,10 @@ if ($HTTP_POST_VARS["action"] == 'add' && $user->admin) $edituser->webcal_login = $HTTP_POST_VARS["webcal_login"]; $id = $edituser->create(); - if (isset($_POST['password']) && $_POST['password']!='' ){ - $edituser->password($_POST['password'],$conf->password_encrypted); - } + if (isset($_POST['password']) && $_POST['password']!='' ) + { + $edituser->password($_POST['password'],$conf->password_encrypted); + } } if ($_POST["action"] == 'update' && $user->admin)