diff --git a/htdocs/admin/ldap.php b/htdocs/admin/ldap.php
index 6cc42777343..7cb300b0384 100644
--- a/htdocs/admin/ldap.php
+++ b/htdocs/admin/ldap.php
@@ -245,6 +245,7 @@ print '';
print '';
+print ' ';
/*
diff --git a/htdocs/admin/ldap_users.php b/htdocs/admin/ldap_users.php
index 909364fb00e..b67fd7ae930 100644
--- a/htdocs/admin/ldap_users.php
+++ b/htdocs/admin/ldap_users.php
@@ -5,7 +5,7 @@
* Copyright (C) 2005 Regis Houssin
* Copyright (C) 2006-2011 Laurent Destailleur
* Copyright (C) 2011 Juanjo Menent
- *
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
@@ -49,7 +49,7 @@ if ($action == 'setvalue' && $user->admin)
{
$error=0;
$db->begin();
-
+
if (! dolibarr_set_const($db, 'LDAP_USER_DN',GETPOST("user"),'chaine',0,'',$conf->entity)) $error++;
if (! dolibarr_set_const($db, 'LDAP_USER_OBJECT_CLASS',GETPOST("objectclass"),'chaine',0,'',$conf->entity)) $error++;
if (! dolibarr_set_const($db, 'LDAP_FILTER_CONNECTION',GETPOST("filterconnection"),'chaine',0,'',$conf->entity)) $error++;
@@ -249,7 +249,7 @@ print '';
// Description
$var=!$var;
-print '