Fixed bug #15092: Ajax loaded items of inline records are encoded twice (Thanks to...
authorSteffen Kamper <info@sk-typo3.de>
Mon, 23 Aug 2010 21:48:27 +0000 (21:48 +0000)
committerSteffen Kamper <info@sk-typo3.de>
Mon, 23 Aug 2010 21:48:27 +0000 (21:48 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/branches/TYPO3_4-4@8654 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
t3lib/class.t3lib_tceforms_inline.php

index 433e703..d0a7bbf 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2010-08-23 Steffen Kamper  <steffen@typo3.org>
+
+       * Fixed bug #15092: Ajax loaded items of inline records are encoded twice (Thanks to Martin Borer)
+
 2010-08-23  Ernesto Baschny  <ernst@cron-it.de>
 
        * Fixed bug #15526: No recipient is logged to syslog if sending of mail failed in t3lib_utility_Mail (Thanks to Helmut Hummel)
index cc67170..33bc517 100644 (file)
@@ -1201,9 +1201,6 @@ class t3lib_TCEforms_inline {
                        return $this->getErrorMessageForAJAX('Access denied');
                }
 
-                       // Encode TCEforms AJAX response with utf-8:
-               $item = $GLOBALS['LANG']->csConvObj->utf8_encode($item, $GLOBALS['LANG']->charSet);
-
                if (!$current['uid']) {
                        $jsonArray = array(
                                'data'  => $item,
@@ -1312,9 +1309,6 @@ class t3lib_TCEforms_inline {
                        return $this->getErrorMessageForAJAX('Access denied');
                }
 
-                       // Encode TCEforms AJAX response with utf-8:
-               $item = $GLOBALS['LANG']->csConvObj->utf8_encode($item, $GLOBALS['LANG']->charSet);
-
                $jsonArray = array(
                        'data'  => $item,
                        'scriptCall' => array(