X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=src%2FPVE%2FSectionConfig.pm;h=5ddb382c30cc73f364b679b592985ae9338f816a;hb=95244fd7fabefc8976eed27a89b6692aa4316ade;hp=09ab5c2a3b023d614707ea1c4421469ef56b54a8;hpb=d0ba18e17e96e9a2db54d050c4bd86b6d2d2dd03;p=pve-common.git diff --git a/src/PVE/SectionConfig.pm b/src/PVE/SectionConfig.pm index 09ab5c2..5ddb382 100644 --- a/src/PVE/SectionConfig.pm +++ b/src/PVE/SectionConfig.pm @@ -381,7 +381,7 @@ sub check_config { my $value = $config->{$k}; die "can't change value of fixed parameter '$k'\n" - if !$create && $opts->{$k} && $opts->{$k}->{fixed}; + if !$create && defined($opts->{$k}) && $opts->{$k}->{fixed}; if (defined($value)) { my $tmp = $class->check_value($type, $k, $value, $sectionId, $skipSchemaCheck);