From: mkanat%bugzilla.org <> Date: Fri, 9 Oct 2009 06:15:31 +0000 (+0000) Subject: Was getting an "uninitialized value" error in Bugzilla::Config when running checksetu... X-Git-Tag: bugzilla-3.5.1~35 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=da262b500fba8bd50d40a358670a6ac2a88b9056;p=thirdparty%2Fbugzilla.git Was getting an "uninitialized value" error in Bugzilla::Config when running checksetup.pl, because of the checkin from bug 514913. --- diff --git a/Bugzilla/Config.pm b/Bugzilla/Config.pm index f56ffd78aa..cab18b5a15 100644 --- a/Bugzilla/Config.pm +++ b/Bugzilla/Config.pm @@ -195,7 +195,9 @@ sub update_params { # Convert the old "ssl" parameter to the new "ssl_redirect" parameter. # Both "authenticated sessions" and "always" turn on "ssl_redirect" # when upgrading. - $param->{'ssl_redirect'} = 1 if $param->{'ssl'} ne 'never'; + if (exists $param->{'ssl'} and $param->{'ssl'} ne 'never') { + $param->{'ssl_redirect'} = 1; + } # --- DEFAULTS FOR NEW PARAMS ---