Commit 0aabaed4 authored by Xavier Guimard's avatar Xavier Guimard

Fix vhostOptions default value (workaround for @#! SOAP, #1579)

parent caa408b4
......@@ -213,6 +213,7 @@ sub defaultValuesInit {
if ( $conf->{vhostOptions} ) {
my $name = 'vhost' . ucfirst($opt);
foreach my $vhost ( keys %{ $conf->{vhostOptions} } ) {
$conf->{vhostOptions}->{$vhost} ||= {};
my $val = $conf->{vhostOptions}->{$vhost}->{$name};
# Keep default value if $val is negative
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment