Was getting an "uninitialized value" error in Bugzilla::Config when running checksetup.pl, because of the checkin from bug 514913.

git-svn-id: svn://10.0.0.236/trunk@258647 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mkanat%bugzilla.org
2009-10-09 06:15:31 +00:00
parent 4560c30f49
commit 0a243adf61

View File

@@ -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 ---