[BUGFIX] System environment report always says warning 13/19313/2
authorPhilipp Gampe <philipp.gampe@typo3.org>
Tue, 26 Mar 2013 19:37:36 +0000 (20:37 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Tue, 26 Mar 2013 20:29:31 +0000 (21:29 +0100)
Fixes: #46696
Releases: 6.1
Change-Id: Ifc8728f6d3d4a412ddd951b80ecdc83e769c5d24
Reviewed-on: https://review.typo3.org/19313
Reviewed-by: Stefan Neufeind
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
typo3/sysext/install/Classes/Report/EnvironmentStatusReport.php

index df6cb69..2eebcb4 100644 (file)
@@ -66,7 +66,7 @@ class EnvironmentStatusReport implements \TYPO3\CMS\Reports\StatusProviderInterf
                        $value = count($statusObjects);
                        if ($value > 0) {
                                $pathToXliff = 'LLL:EXT:install/Resources/Private/Language/Report/locallang.xlf';
-                               $message = $GLOBALS['LANG']->sL($pathToXliff . ':environment.status.message.warning');
+                               $message = $GLOBALS['LANG']->sL($pathToXliff . ':environment.status.message.' . strtolower($type));
                                $severity = constant('\TYPO3\CMS\Reports\Status::' . $type);
                                $statusArray[] = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(
                                        'TYPO3\\CMS\\Reports\\Status',