aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2009-10-09 06:15:31 +0000
committermkanat%bugzilla.org <>2009-10-09 06:15:31 +0000
commitda262b500fba8bd50d40a358670a6ac2a88b9056 (patch)
tree46e4e8678c88f43f2a96539ee64ad335fde43592
parentBug 518974: Hooks to add text to index.cgi (diff)
downloadbugzilla-da262b500fba8bd50d40a358670a6ac2a88b9056.tar.gz
bugzilla-da262b500fba8bd50d40a358670a6ac2a88b9056.tar.bz2
bugzilla-da262b500fba8bd50d40a358670a6ac2a88b9056.zip
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.pm4
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 ---