diff --git a/htdocs/html.form.class.php b/htdocs/html.form.class.php index c0e01adde2e..41393c904ec 100644 --- a/htdocs/html.form.class.php +++ b/htdocs/html.form.class.php @@ -767,7 +767,7 @@ class Form print ''; } print $obj->name.($obj->name && $obj->firstname?' ':'').$obj->firstname; - print ' ('.$obj->login.')'; + if ($conf->global->MAIN_SHOW_LOGIN) print ' ('.$obj->login.')'; print ''; $i++; }