[BUGFIX] System environment report always says warning
[Packages/TYPO3.CMS.git] / 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',