summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Config.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Bugzilla/Config.pm')
-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 ---