Changed call of json_encode in t3editor to t3lib_div::array2json
authorIngo Renner <ingo.renner@typo3.org>
Tue, 22 Apr 2008 21:45:59 +0000 (21:45 +0000)
committerIngo Renner <ingo.renner@typo3.org>
Tue, 22 Apr 2008 21:45:59 +0000 (21:45 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@3618 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/sysext/t3editor/class.tx_t3editor.php

index 4ee7d57..075e77e 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -13,6 +13,7 @@
        * Fixed bug #8153: [left frame-width] left frame too small for german users, credits Steffen Kamper
        * Fixed several bugs with t3editor and IE #8157, #8049, #7509,#8146, credit Tobias Liebig
        * Changed order of cache and shortcut toolbar items
+       * Changed call of json_encode in t3editor to t3lib_div::array2json
 
 2008-04-22  Oliver Hader  <oliver@typo3.org>
 
index 80039d0..c0c2fef 100755 (executable)
@@ -228,7 +228,7 @@ class tx_t3editor {
                        tx_t3editor::makeGlobalEditorInstance();
                        $GLOBALS['T3_VAR']['t3editorObj']->setBEUCdisableT3Editor(false);
 
-                       header('X-JSON: ('.json_encode(array('result' => $pObj->tce_processed)).')');
+                       header('X-JSON: ('.t3lib_div::array2json(array('result' => $pObj->tce_processed)).')');
                        // Stop further processing here!
                        exit();
                }