Var not initialized

This commit is contained in:
Laurent Destailleur 2010-08-04 15:41:13 +00:00
parent 0dfb917790
commit dc7a0c031d

View File

@ -618,9 +618,9 @@ if (($action == 'create') || ($action == 'adduserldap'))
} }
print '</td></tr>'; print '</td></tr>';
$generated_password='';
if (!$ldap_sid) if (!$ldap_sid)
{ {
$generated_password='';
if ($conf->global->USER_PASSWORD_GENERATED) if ($conf->global->USER_PASSWORD_GENERATED)
{ {
$nomclass="modGeneratePass".ucfirst($conf->global->USER_PASSWORD_GENERATED); $nomclass="modGeneratePass".ucfirst($conf->global->USER_PASSWORD_GENERATED);