Fixed bug #16994: ExtDirect in frontend generates php warnings (Thanks to Stefan...
authorErnesto Baschny <ernst@cron-it.de>
Fri, 21 Jan 2011 17:58:49 +0000 (17:58 +0000)
committerErnesto Baschny <ernst@cron-it.de>
Fri, 21 Jan 2011 17:58:49 +0000 (17:58 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@10219 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/sysext/cms/tslib/class.tslib_extdirecteid.php

index 95c8d58..1f65ce8 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -13,6 +13,7 @@
 
 2011-01-21  Ernesto Baschny  <ernst@cron-it.de>
 
+       * 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)
index cb4aa1d..ca537bc 100644 (file)
@@ -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');