diff --git a/htdocs/admin/security.php b/htdocs/admin/security.php
index 7760e28be68..8a2b77c82a6 100644
--- a/htdocs/admin/security.php
+++ b/htdocs/admin/security.php
@@ -238,7 +238,15 @@ print '
'.$langs->trans("Action").' | ';
print '';
print "";
-print '| '.$langs->trans("DoNotStoreClearPassword").' | ';
+if($conf->global->DATABASE_PWD_ENCRYPTED == 1)
+{
+ print '';
+}
+else
+{
+ print ' | ';
+}
+print $langs->trans("DoNotStoreClearPassword").' | ';
print '';
if($conf->global->DATABASE_PWD_ENCRYPTED == 1)
{
|