Bugfix #5683: processing of label field in backend
authorIngmar Schlecht <ingmar.schlecht@typo3.org>
Thu, 15 Nov 2007 18:07:05 +0000 (18:07 +0000)
committerIngmar Schlecht <ingmar.schlecht@typo3.org>
Thu, 15 Nov 2007 18:07:05 +0000 (18:07 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@2719 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
t3lib/class.t3lib_befunc.php

index 3f422de..902dc55 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2007-11-15  Ingmar Schlecht  <ingmar@typo3.org>
+
+       * Bugfix #5683: processing of label field in backend (Thanks to Ralf Hettinger)
+
 2007-11-15  Thomas Hempel <thomas@typo3-unleashed.net>
 
        * added new installer (ALPHA) code in typo3/sysext/install
index 159e1d4..97ef22d 100755 (executable)
@@ -1886,7 +1886,7 @@ class t3lib_BEfunc        {
                        } else {
 
                                        // No userFunc: Build label
-                               $t = $row[$TCA[$table]['ctrl']['label']];
+                               $t = t3lib_BEfunc::getProcessedValue($table,$TCA[$table]['ctrl']['label'],$row[$TCA[$table]['ctrl']['label']],0,0,false,$row['uid'],$forceResult);
                                if ($TCA[$table]['ctrl']['label_alt'] && ($TCA[$table]['ctrl']['label_alt_force'] || !strcmp($t,'')))   {
                                        $altFields=t3lib_div::trimExplode(',',$TCA[$table]['ctrl']['label_alt'],1);
                                        $tA=array();
@@ -1894,7 +1894,7 @@ class t3lib_BEfunc        {
                                        foreach ($altFields as $fN)     {
                                                $t = trim(strip_tags($row[$fN]));
                                                if (strcmp($t,''))      {
-                                                       $t = t3lib_BEfunc::getProcessedValue($table,$fN,$t);
+                                                       $t = t3lib_BEfunc::getProcessedValue($table,$fN,$t,0,0,false,$row['uid']);
                                                        if (!$TCA[$table]['ctrl']['label_alt_force'])   {
                                                                break;
                                                        }