From dc7a0c031d2d803d6255dcc53f5ac0086eab8ee2 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 4 Aug 2010 15:41:13 +0000 Subject: [PATCH] Var not initialized --- htdocs/user/fiche.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/user/fiche.php b/htdocs/user/fiche.php index a3da7a45a8a..62da7c7355e 100644 --- a/htdocs/user/fiche.php +++ b/htdocs/user/fiche.php @@ -618,9 +618,9 @@ if (($action == 'create') || ($action == 'adduserldap')) } print ''; + $generated_password=''; if (!$ldap_sid) { - $generated_password=''; if ($conf->global->USER_PASSWORD_GENERATED) { $nomclass="modGeneratePass".ucfirst($conf->global->USER_PASSWORD_GENERATED);