diff options
author | mkanat%bugzilla.org <> | 2009-10-09 08:15:31 +0200 |
---|---|---|
committer | mkanat%bugzilla.org <> | 2009-10-09 08:15:31 +0200 |
commit | da262b500fba8bd50d40a358670a6ac2a88b9056 (patch) | |
tree | 46e4e8678c88f43f2a96539ee64ad335fde43592 | |
parent | 30f871be3ba94d0f5819fa372fd80d47d01d7fad (diff) | |
download | bugzilla-da262b500fba8bd50d40a358670a6ac2a88b9056.tar.gz bugzilla-da262b500fba8bd50d40a358670a6ac2a88b9056.tar.xz |
Was getting an "uninitialized value" error in Bugzilla::Config when running checksetup.pl, because of the checkin from bug 514913.
-rw-r--r-- | Bugzilla/Config.pm | 4 |
1 files changed, 3 insertions, 1 deletions
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 --- |