Added feature #6359: IRRE - Add config of parent record for label_userFunc used on...
authorOliver Hader <oliver.hader@typo3.org>
Tue, 25 Sep 2007 09:25:18 +0000 (09:25 +0000)
committerOliver Hader <oliver.hader@typo3.org>
Tue, 25 Sep 2007 09:25:18 +0000 (09:25 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@2523 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
t3lib/class.t3lib_tceforms_inline.php

index be78b0a..d2cc3aa 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
 2007-09-25  Oliver Hader  <oh@inpublica.de>
 
        * (tweak) Created new directory for Services_JSON typo3/contrib/json/ and moved file from typo3/contrib/json.php to typo3/contrib/json/json.php
+       * (feature) Added feature #6359: IRRE - Add config of parent record for label_userFunc used on a child record
 
 2007-09-24 Andreas Otto <andreas.otto@dkd.de>
 
index b1a0671..8390ef2 100755 (executable)
@@ -388,7 +388,11 @@ class t3lib_TCEforms_inline {
                                'table' => $foreign_table,
                                'row'   => $rec,
                                'title' => '',
-                               'isOnSymmetricSide' => $isOnSymmetricSide
+                               'isOnSymmetricSide' => $isOnSymmetricSide,
+                               'parent' => array(
+                                       'uid' => $parentUid,
+                                       'config' => $config,
+                               ),
                        );
                        $null = null;   // callUserFunction requires a third parameter, but we don't want to give $this as reference!
                        t3lib_div::callUserFunction($GLOBALS['TCA'][$foreign_table]['ctrl']['label_userFunc'], $params, $null);