mirror of
https://github.com/webmin/webmin.git
synced 2026-05-04 22:30:33 +01:00
Fixed alias numbering
This commit is contained in:
@@ -454,7 +454,11 @@ local @rv;
|
||||
foreach my $f (&get_maps_types_files(&get_current_value("alias_maps"))) {
|
||||
if (&file_map_type($f->[0])) {
|
||||
# We can read this file directly
|
||||
push(@rv, &list_aliases([ $f->[1] ]));
|
||||
local $sofar = scalar(@rv);
|
||||
foreach my $a (&list_aliases([ $f->[1] ])) {
|
||||
$a->{'num'} += $sofar;
|
||||
push(@rv, $a);
|
||||
}
|
||||
}
|
||||
else {
|
||||
# Treat as a map
|
||||
|
||||
Reference in New Issue
Block a user