mirror of
https://github.com/webmin/webmin.git
synced 2026-03-20 16:50:24 +00:00
Fix added http_access lines after acl
This commit is contained in:
@@ -141,7 +141,8 @@ for($i=0; $i<@oldv || $i<@newv; $i++) {
|
||||
else {
|
||||
# updating some directive
|
||||
$nl = &directive_line($newv[$i]);
|
||||
local @after = ref($_[3]) ? ( $_[3] ) :
|
||||
local @after = $change ? ( $change ) : # After last one updated
|
||||
ref($_[3]) ? ( $_[3] ) : # After specific
|
||||
$_[3] ? &find_config($_[3], $_[0]) : ( );
|
||||
local $after = @after ? @after[$#after] : undef;
|
||||
if ($after && $oldv[$i]->{'line'} < $after->{'line'}) {
|
||||
|
||||
Reference in New Issue
Block a user