Fixed bug 4809: require() in class.t3lib_tceforms_inline.php fails
authorOliver Hader <oliver.hader@typo3.org>
Wed, 24 Jan 2007 13:05:14 +0000 (13:05 +0000)
committerOliver Hader <oliver.hader@typo3.org>
Wed, 24 Jan 2007 13:05:14 +0000 (13:05 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@1934 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
t3lib/class.t3lib_tceforms_inline.php

index 16ba9c5..e3c3abd 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,7 @@
        * Fixed bug 4820: IRRE - Wrong character encoding in AJAX response
        * Fixed feature request 4790: typolink.addQueryString - enable usage of merged POST and GET data
        * Fixed bug 4824: typo3 not defined in jsfunc.tbe_editor.js
+       * Fixed bug 4809: require() in class.t3lib_tceforms_inline.php fails
 
 2007-01-23  Ingmar Schlecht  <ingmar@typo3.org>
 
index 0efbaa3..de15d61 100755 (executable)
@@ -1503,7 +1503,7 @@ class t3lib_TCEforms_inline {
         */
        function getJSON($jsonArray) {
                if (!$GLOBALS['JSON']) {
-                       require_once('json.php');
+                       require_once(PATH_typo3.'json.php');
                        $GLOBALS['JSON'] = t3lib_div::makeInstance('Services_JSON');
                }
                return $GLOBALS['JSON']->encode($jsonArray);