Fix incorrect ui_select callers

This commit is contained in:
Joe Cooper
2026-06-15 16:38:34 -05:00
parent 69548c4bb8
commit 25fea8f568
2 changed files with 2 additions and 2 deletions

View File

@@ -214,7 +214,7 @@ if (@servs) {
&ui_select("depend", $serv->{'depend'},
[ [ "", " " ],
map { [ $_->{'id'}, $_->{'desc'}.
" (".&nice_remotes($_).")" ] }
" (".&html_strip(&nice_remotes($_), " ").")" ] }
sort { $a->{'desc'} cmp $b->{'desc'} } @servs ]),
undef, \@tds);
}

View File

@@ -53,7 +53,7 @@ print &ui_table_row($text{'log_filter'},
&ui_select("filter", \@gotfilters, \@allfilters, 10, 1));
# Show destinations
@alldestinations = map { [ $_->{'value'}, $_->{'value'}." (".&nice_destination_file($_).")" ] } &find("destination", $conf);
@alldestinations = map { [ $_->{'value'}, $_->{'value'}." (".&html_strip(&nice_destination_file($_)).")" ] } &find("destination", $conf);
@gotdestinations = map { $_->{'value'} } &find("destination",$log->{'members'});
print &ui_table_row($text{'log_destination'},
&ui_select("destination", \@gotdestinations, \@alldestinations, 10, 1));