diff --git a/htdocs/admin/ldap.php b/htdocs/admin/ldap.php
index 9ba17e94488..6159bcf69d8 100644
--- a/htdocs/admin/ldap.php
+++ b/htdocs/admin/ldap.php
@@ -179,7 +179,7 @@ print "\n";
}
if (defined("LDAP_CONTACT_ACTIVE") && LDAP_CONTACT_ACTIVE)
{
- print '
| '.$langs->trans("DNContactActive").' | '.LDAP_CONTACT_ACTIVE.' |
';
+ print '| '.$langs->trans("DNContactActive").' | '.$langs->trans("DNContactActiveYes").' |
';
}
else
{
@@ -187,7 +187,7 @@ print "\n";
}
if (defined("LDAP_CONTACT_DN") && LDAP_CONTACT_DN)
{
- print '| '.$langs->trans("DNContact").' | '.$langs->trans("DNContactActiveYes").' |
';
+ print '| '.$langs->trans("DNContact").' | '.LDAP_CONTACT_DN.' |
';
}
else
{