mirror of
https://github.com/webmin/webmin.git
synced 2025-07-23 00:30:33 +00:00
Fix check for missing value!
This commit is contained in:
@ -1218,7 +1218,7 @@ local $lref = &read_file_lines($file);
|
||||
|
||||
for(my $i=0; $i<@old || $i<@$values; $i++) {
|
||||
local $old = $i < @old ? $old[$i] : undef;
|
||||
local $line = $i < @$values || $values->[$i] eq "" ? $name :
|
||||
local $line = $i >= @$values || $values->[$i] eq "" ? $name :
|
||||
"$name = $values->[$i]";
|
||||
if ($old && defined($values->[$i])) {
|
||||
# Updating
|
||||
|
Reference in New Issue
Block a user