From 0d8380351a0276728d1d2b1e260cec0c8b1f204a Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Fri, 18 Sep 2015 07:18:00 +0200 Subject: [PATCH] fix SectionConfig updateSchema for classes without plugins. --- src/PVE/SectionConfig.pm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/PVE/SectionConfig.pm b/src/PVE/SectionConfig.pm index f6646f3..be13056 100644 --- a/src/PVE/SectionConfig.pm +++ b/src/PVE/SectionConfig.pm @@ -119,6 +119,9 @@ sub updateSchema { my $modifyable = 0; + my $copts = $class->options(); + $modifyable = 1 if defined($copts->{$p}) && !$copts->{$p}->{fixed}; + foreach my $t (keys %$plugins) { my $opts = $pdata->{options}->{$t} || {}; next if !defined($opts->{$p}); -- 2.39.2