diff --git a/setup/setuputils.class.inc.php b/setup/setuputils.class.inc.php index fc6d54845..59a7dfb68 100644 --- a/setup/setuputils.class.inc.php +++ b/setup/setuputils.class.inc.php @@ -895,10 +895,10 @@ class SetupUtils $sTlsEnabledChecked = $bTlsEnabled ? ' checked' : ''; $sTlsCaDisabled = $bTlsEnabled ? '' : ' disabled'; $oPage->add(''); - $oPage->add(''); - $oPage->add('Before configuring MySQL with TLS encryption, read the documentation on Combodo\'s Wiki'); - $oPage->add(''); - $oPage->add('SSL CA:'); + $oPage->add(''); + $oPage->add('Before configuring MySQL with TLS encryption, read the documentation on Combodo\'s Wiki'); + $oPage->add(''); + $oPage->add('SSL CA:'); $oPage->add(''); $oPage->add('Path to certificate authority file for SSL'); @@ -947,7 +947,7 @@ function updateTlsImage() { } EOF ); - if (!$bTlsEnabled) + if ($bTlsEnabled) { $oPage->add_ready_script('toggleTlsOptions();'); }