[BUGFIX] Label status_configuration_PhpSafeModeEnabled is not retrieved
authorXavier Perseguers <xavier@typo3.org>
Tue, 20 Sep 2011 09:21:36 +0000 (11:21 +0200)
committerXavier Perseguers <xavier@typo3.org>
Tue, 20 Sep 2011 09:23:56 +0000 (11:23 +0200)
Wrong method is used to retrieve label status_configuration_PhpSafeModeEnabled.

Change-Id: Ie14d4d446a9d5e51e60594576a1cf3d42468f952
Fixes: #30081
Releases: 4.5, 4.6
Reviewed-on: http://review.typo3.org/5102
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
typo3/sysext/reports/reports/status/class.tx_reports_reports_status_configurationstatus.php

index 9886a27..e5fd9fe 100644 (file)
@@ -108,7 +108,7 @@ class tx_reports_reports_status_ConfigurationStatus implements tx_reports_Status
                if (t3lib_utility_PhpOptions::isSafeModeEnabled()) {
                        $value    = $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_common.xml:enabled');
                        $severity = tx_reports_reports_status_Status::WARNING;
                if (t3lib_utility_PhpOptions::isSafeModeEnabled()) {
                        $value    = $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_common.xml:enabled');
                        $severity = tx_reports_reports_status_Status::WARNING;
-                       $message  = $GLOBALS['LANG']->sL('status_configuration_PhpSafeModeEnabled');
+                       $message  = $GLOBALS['LANG']->getLL('status_configuration_PhpSafeModeEnabled');
                }
 
                return t3lib_div::makeInstance('tx_reports_reports_status_Status',
                }
 
                return t3lib_div::makeInstance('tx_reports_reports_status_Status',