X-Git-Url: https://git.proxmox.com/?p=pve-common.git;a=blobdiff_plain;f=src%2FPVE%2FJSONSchema.pm;h=2837cf56378a766d5f5dbe93f8431eabfd1291a9;hp=d9d254af6e886df4168eed6113c28e1d63d4d8c3;hb=c38ac70fe0212e878bacabfc57cef026c6451010;hpb=24cea9a96ea1afd2dc7c7810e85ec6e076f03669 diff --git a/src/PVE/JSONSchema.pm b/src/PVE/JSONSchema.pm index d9d254a..2837cf5 100644 --- a/src/PVE/JSONSchema.pm +++ b/src/PVE/JSONSchema.pm @@ -42,7 +42,7 @@ sub get_standard_option { my $res = $base || {}; foreach my $opt (keys %$std) { - next if $res->{$opt}; + next if defined($res->{$opt}); $res->{$opt} = $std->{$opt}; }