mirror of
https://github.com/webmin/webmin.git
synced 2026-08-04 15:10:41 +01:00
Some zone_field callers just expect a single value
This commit is contained in:
@@ -414,7 +414,8 @@ if ($other) {
|
||||
elsif (!$found) {
|
||||
push(@opts, [ $value, $value ]);
|
||||
}
|
||||
return (&ui_select($name, $value, \@opts), $found);
|
||||
my $sel = &ui_select($name, $value, \@opts);
|
||||
return wantarray ? ($sel, $found) : $sel;
|
||||
}
|
||||
|
||||
# iface_field(name, value)
|
||||
|
||||
Reference in New Issue
Block a user