X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=src%2FPVE%2FSectionConfig.pm;fp=src%2FPVE%2FSectionConfig.pm;h=f36cede9f75ba27e9591571b0e09fd924e84328d;hb=967e98230a988b0412a9d6c8178e0362853d91a6;hp=e3546559d29f581f79f493533c4e7bc4805d036a;hpb=016d20715b5789030f8ed6a985cf692a206c31da;p=pve-common.git diff --git a/src/PVE/SectionConfig.pm b/src/PVE/SectionConfig.pm index e354655..f36cede 100644 --- a/src/PVE/SectionConfig.pm +++ b/src/PVE/SectionConfig.pm @@ -115,7 +115,7 @@ sub updateSchema { my $props = {}; - my $filter_type = $class->type() if $single_class; + my $filter_type = $single_class ? $class->type() : undef; foreach my $p (keys %$propertyList) { next if $p eq 'type';