From f13c30263ce6bda510b9ec53661313f3db5a3bae Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Fri, 13 Feb 2004 17:36:27 +0000 Subject: [PATCH] synchro --- htdocs/user/fiche.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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)