From da262b500fba8bd50d40a358670a6ac2a88b9056 Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" <> Date: Fri, 9 Oct 2009 06:15:31 +0000 Subject: Was getting an "uninitialized value" error in Bugzilla::Config when running checksetup.pl, because of the checkin from bug 514913. --- Bugzilla/Config.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Bugzilla/Config.pm') diff --git a/Bugzilla/Config.pm b/Bugzilla/Config.pm index f56ffd78a..cab18b5a1 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 --- -- cgit v1.2.3-24-g4f1b