diff --git a/typo3/sysext/install/Classes/Service/UpgradeWizardsService.php b/typo3/sysext/install/Classes/Service/UpgradeWizardsService.php index 092dad4c88ca5bc09c58cf38f64f7f46b0093fe3..b02f4bb0fff7328e3b165946de28fab93858e2c9 100644 --- a/typo3/sysext/install/Classes/Service/UpgradeWizardsService.php +++ b/typo3/sysext/install/Classes/Service/UpgradeWizardsService.php @@ -333,11 +333,13 @@ class UpgradeWizardsService $markup[] = ' <p>' . nl2br(htmlspecialchars($updateObject->getConfirmation()->getMessage())) . '</p>'; $markup[] = ' <div class="btn-group">'; if (!$updateObject->getConfirmation()->isRequired()) { - $markup[] = ' <input ' . GeneralUtility::implodeAttributes($radioAttributes, true) . ' checked id="upgrade-wizard-deny">'; + $denyChecked = $updateObject->getConfirmation()->getDefaultValue() === false ? ' checked' : ''; + $markup[] = ' <input ' . GeneralUtility::implodeAttributes($radioAttributes, true) . $denyChecked . ' id="upgrade-wizard-deny">'; $markup[] = ' <label class="btn btn-default" for="upgrade-wizard-deny">' . $updateObject->getConfirmation()->getDeny() . '</label>'; } $radioAttributes['value'] = '1'; - $markup[] = ' <input ' . GeneralUtility::implodeAttributes($radioAttributes, true) . ' id="upgrade-wizard-confirm">'; + $confirmChecked = $updateObject->getConfirmation()->getDefaultValue() === true ? ' checked' : ''; + $markup[] = ' <input ' . GeneralUtility::implodeAttributes($radioAttributes, true) . $confirmChecked . ' id="upgrade-wizard-confirm">'; $markup[] = ' <label class="btn btn-default" for="upgrade-wizard-confirm">' . $updateObject->getConfirmation()->getConfirm() . '</label>'; $markup[] = ' </div>'; $markup[] = ' </div>';