mirror of
https://git.proxmox.com/git/pve-common
synced 2025-08-15 00:14:44 +00:00
fix SectionConfig updateSchema for classes without plugins.
This commit is contained in:
parent
a3530f55ed
commit
0d8380351a
@ -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});
|
||||
|
Loading…
Reference in New Issue
Block a user