[BUGFIX] Page-TSconfig ###PAGE_TSCONFIG_STR### not evaluated correctly 87/31387/2
authorWouter Wolters <typo3@wouterwolters.nl>
Sat, 18 May 2013 18:55:23 +0000 (20:55 +0200)
committerMarkus Klein <klein.t3@mfc-linz.at>
Sun, 6 Jul 2014 13:16:27 +0000 (15:16 +0200)
Page-TSconfig ###PAGE_TSCONFIG_STR### not evaluated
correctly in the backend.

Change-Id: Ieda08a1df71117b5ac90f2c68260f5171570ff63
Resolves: #16392
Releases: 6.3, 6.2
Reviewed-on: https://review.typo3.org/31387
Reviewed-by: Markus Klein
Tested-by: Markus Klein
typo3/sysext/backend/Classes/Form/DataPreprocessor.php

index c7540d1..7fa33ed 100644 (file)
@@ -287,7 +287,7 @@ class DataPreprocessor {
         * @param array $TSconfig TSconfig      (blank for flexforms for now)
         * @param string $table Table name
         * @param array $row The row array, always of the real record (also for flexforms)
-        * @param string $field The field (empty for flexforms!)
+        * @param string $field The field
         * @return string Modified $value
         * @todo Define visibility
         */
@@ -599,7 +599,7 @@ class DataPreprocessor {
                                                                $dataValues[$key][$vKey] = $dsConf['TCEforms']['config']['default'];
                                                        }
                                                        // Process value:
-                                                       $dataValues[$key][$vKey] = $this->renderRecord_SW($dataValues[$key][$vKey], $dsConf['TCEforms'], $CVTSconfig, $CVtable, $CVrow, '');
+                                                       $dataValues[$key][$vKey] = $this->renderRecord_SW($dataValues[$key][$vKey], $dsConf['TCEforms'], $CVTSconfig, $CVtable, $CVrow, $CVfield);
                                                }
                                        }
                                }