mirror of
https://github.com/webmin/webmin.git
synced 2026-03-20 08:40:24 +00:00
Fix indent bug for newly created directives in section bf062d8228 https://github.com/virtualmin/virtualmin-gpl/pull/199
This commit is contained in:
@@ -305,6 +305,7 @@ $section->{'eline'} = $section->{'line'} + scalar(@newlines) - 1;
|
||||
my $i = 1;
|
||||
foreach my $m (@{$section->{'members'}}) {
|
||||
$m->{'line'} = $m->{'eline'} = $section->{'line'} + $i++;
|
||||
$m->{'space'} = " ";
|
||||
$m->{'file'} = $section->{'file'};
|
||||
$m->{'sectionname'} = $section->{'name'};
|
||||
$m->{'sectionvalue'} = $section->{'value'};
|
||||
|
||||
Reference in New Issue
Block a user