From 4fed43ed4d590f847cccbb33d90e607bba6a8c34 Mon Sep 17 00:00:00 2001 From: Ernesto Baschny Date: Fri, 21 Jan 2011 17:58:49 +0000 Subject: [PATCH] Fixed bug #16994: ExtDirect in frontend generates php warnings (Thanks to Stefan Galinski) git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@10219 709f56b5-9817-0410-a4d7-c38de5d9e867 --- ChangeLog | 1 + typo3/sysext/cms/tslib/class.tslib_extdirecteid.php | 4 +--- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 95c8d5848651..1f65ce813b76 100755 --- a/ChangeLog +++ b/ChangeLog @@ -13,6 +13,7 @@ 2011-01-21 Ernesto Baschny + * Fixed bug #16994: ExtDirect in frontend generates php warnings (Thanks to Stefan Galinski) * Fixed issue #17198: Introduce setting "defaultMailFromName" and move defaultMailFromAddress to [MAIL] section (Thanks to Jigal van Hemert) * Fixed issue #17175: t3lib_compressor should write .htaccess to set Expires headers for .js/.css files (Thanks to Steffen Gebert) * Fixed bug #17120: Problem with the integration of third-party trees (Thanks to Stefan Galinksi) diff --git a/typo3/sysext/cms/tslib/class.tslib_extdirecteid.php b/typo3/sysext/cms/tslib/class.tslib_extdirecteid.php index cb4aa1d279e9..ca537bcb25ae 100644 --- a/typo3/sysext/cms/tslib/class.tslib_extdirecteid.php +++ b/typo3/sysext/cms/tslib/class.tslib_extdirecteid.php @@ -47,9 +47,7 @@ class tslib_ExtDirectEid { * @return void */ public function routeAction() { - $GLOBALS['LANG'] = t3lib_div::makeInstance('language'); - $GLOBALS['LANG']->init(); - + tslib_eidtools::initLanguage(); tslib_eidtools::connectDB(); $ajaxID = t3lib_div::_GP('action'); -- 2.20.1