Commit a776d58d authored by Guido Schmechel's avatar Guido Schmechel Committed by Frank Nägler
Browse files

[BUGFIX] Ensure correct value for JsonResponse in InstallerController

Set the correct status value for the JsonResponse returned in case no
database is selected.
Additionally, a typo in the key `success` itself is fixed.

Resolves: #88066
Releases: master, 9.5
Change-Id: I3153f6cabc878b270fe48983cbdedb8ed918d566
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/60466

Reviewed-by: Andreas Fernandez's avatarAndreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: Frank Nägler's avatarFrank Naegler <frank.naegler@typo3.org>
Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: Andreas Fernandez's avatarAndreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: Frank Nägler's avatarFrank Naegler <frank.naegler@typo3.org>
parent 76740dd2
......@@ -570,7 +570,7 @@ class InstallerController
}
} else {
return new JsonResponse([
'sucess' => true,
'success' => false,
'status' => [
new FlashMessage(
'You must select a database.',
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment