mirror of
https://github.com/webmin/webmin.git
synced 2026-02-03 06:03:28 +00:00
Strip off blank extra fields https://github.com/webmin/webmin/issues/354
This commit is contained in:
@@ -18,6 +18,7 @@ print &ui_table_start($text{'passwd_header'}, undef, 2);
|
||||
# Login and real name
|
||||
%uconfig = &foreign_config("useradmin");
|
||||
$user[6] =~ s/,.*$// if ($uconfig{'extra_real'});
|
||||
$user[6] =~ s/,+$//;
|
||||
print &ui_table_row($text{'passwd_for'},
|
||||
&html_escape($user[0].( $user[6] ? " ($user[6])" : "" )));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user