mirror of
https://github.com/webmin/webmin.git
synced 2025-07-20 16:48:46 +00:00
Record file we added to in the structure
This commit is contained in:
@ -352,6 +352,7 @@ splice(@$lref, $section->{'line'}, 0, @newlines);
|
||||
&renumber($conf, $section->{'eline'}, $section->{'file'},
|
||||
scalar(@newlines)-$oldlen);
|
||||
$section->{'eline'} = $section->{'line'} + scalar(@newlines) - 1;
|
||||
$section->{'file'} = $file;
|
||||
my $i = 1;
|
||||
foreach my $m (@{$section->{'members'}}) {
|
||||
$m->{'line'} = $m->{'eline'} = $section->{'line'} + $i++;
|
||||
|
Reference in New Issue
Block a user