mirror of
https://github.com/webmin/webmin.git
synced 2026-05-04 22:30:33 +01:00
Fixed view selection bug
This commit is contained in:
@@ -24,7 +24,7 @@ $conf = &get_config();
|
||||
if (@views) {
|
||||
print &ui_table_row($text{'mcreate_view'},
|
||||
&ui_select("view", undef,
|
||||
[ map { [ $_->{'index'}, $_->{'view'} ] }
|
||||
[ map { [ $_->{'index'}, $_->{'values'}->[1] ] }
|
||||
grep { &can_edit_view($_) } @views ]), 3);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user