fix SectionConfig updateSchema for classes without plugins.

This commit is contained in:
Dietmar Maurer 2015-09-18 07:18:00 +02:00
parent a3530f55ed
commit 0d8380351a

View File

@ -119,6 +119,9 @@ sub updateSchema {
my $modifyable = 0; my $modifyable = 0;
my $copts = $class->options();
$modifyable = 1 if defined($copts->{$p}) && !$copts->{$p}->{fixed};
foreach my $t (keys %$plugins) { foreach my $t (keys %$plugins) {
my $opts = $pdata->{options}->{$t} || {}; my $opts = $pdata->{options}->{$t} || {};
next if !defined($opts->{$p}); next if !defined($opts->{$p});