[+BUGFIX] Fluid (ViewHelpers): Fixed TranslateViewHelper. LLLabels can now be overwri...
authorJochen Rau <j.rau@web.de>
Tue, 15 Sep 2009 14:25:42 +0000 (14:25 +0000)
committerJochen Rau <j.rau@web.de>
Tue, 15 Sep 2009 14:25:42 +0000 (14:25 +0000)
typo3/sysext/fluid/Classes/ViewHelpers/TranslateViewHelper.php

index 315e92c..d455bbc 100644 (file)
@@ -154,7 +154,7 @@ class Tx_Fluid_ViewHelpers_TranslateViewHelper extends Tx_Fluid_Core_ViewHelper_
         * @author Bastian Waidelich <bastian@typo3.org>
         */
        protected function loadTypoScriptLabels() {
-               $configurationManager = t3lib_div::makeInstance('Tx_Extbase_Configuration_Manager');
+               $configurationManager = Tx_Extbase_Dispatcher::getConfigurationManager();
                $settings = $configurationManager->getSettings($this->extensionName);
                if (!is_array($settings['_LOCAL_LANG'])) {
                        return;
@@ -207,5 +207,4 @@ class Tx_Fluid_ViewHelpers_TranslateViewHelper extends Tx_Fluid_Core_ViewHelper_
        }
 }
 
-
 ?>
\ No newline at end of file