From 34dec45c43564b6a3d4b4966cbde2fd8a030fd4c Mon Sep 17 00:00:00 2001 From: Max Carrara Date: Thu, 31 Oct 2024 18:07:20 +0100 Subject: [PATCH] section config: fix spelling of variable s/modifyable/modifiable Signed-off-by: Max Carrara --- src/PVE/SectionConfig.pm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/PVE/SectionConfig.pm b/src/PVE/SectionConfig.pm index 78a7abe..3e13e3f 100644 --- a/src/PVE/SectionConfig.pm +++ b/src/PVE/SectionConfig.pm @@ -596,16 +596,16 @@ sub updateSchema { next; } - my $modifyable = 0; + my $modifiable = 0; - $modifyable = 1 if defined($copts->{$p}) && !$copts->{$p}->{fixed}; + $modifiable = 1 if defined($copts->{$p}) && !$copts->{$p}->{fixed}; for my $t (keys $plugins->%*) { my $opts = $pdata->{options}->{$t} || {}; next if !defined($opts->{$p}); - $modifyable = 1 if !$opts->{$p}->{fixed}; + $modifiable = 1 if !$opts->{$p}->{fixed}; } - next if !$modifyable; + next if !$modifiable; $props->{$p} = $propertyList->{$p}; }