Fixed a bug: Normal labels rendered by class.db_list_extra.inc didn't get passed...
authorBernhard Kraft <kraftb@think-open.at>
Mon, 13 Nov 2006 09:04:50 +0000 (09:04 +0000)
committerBernhard Kraft <kraftb@think-open.at>
Mon, 13 Nov 2006 09:04:50 +0000 (09:04 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@1790 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/class.db_list_extra.inc

index 1080d82..bb6ea6c 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2006-11-13  Bernhard Kraft  <kraftb@kraftb.at>
+
+       * Fixed a bug: Normal labels rendered by class.db_list_extra.inc didn't get passed through t3lib_BEfunc::getProcessedValueExtra when alt_label fields are set.
+
 2006-11-08  Dmitry Dulepov  <dmitry@typo3.org>
 
        * Enable creation of compact flexforms
index f7fc5a0..e3bde3e 100755 (executable)
@@ -599,7 +599,9 @@ class localRecordList extends recordList {
                                if ($GLOBALS['TCA'][$table]['ctrl']['label_alt'] && ($GLOBALS['TCA'][$table]['ctrl']['label_alt_force'] || !strcmp($row[$fCol],'')))    {
                                        $altFields=t3lib_div::trimExplode(',',$GLOBALS['TCA'][$table]['ctrl']['label_alt'],1);
                                        $tA=array();
-                                       if ($row[$fCol])        { $tA[]=$row[$fCol]; }
+                                       if ($row[$fCol])        {
+                                               $tA[] = t3lib_BEfunc::getProcessedValueExtra($table,$fCol,$row[$fCol],$GLOBALS['BE_USER']->uc['titleLen'],$row['uid']);
+                                       }
                                        while(list(,$fN)=each($altFields))      {
                                                $t = t3lib_BEfunc::getProcessedValueExtra($table,$fN,$row[$fN],$GLOBALS['BE_USER']->uc['titleLen'],$row['uid']);
                                                if($t)  { $tA[] = $t; }