Fixed bug Fixed bug #9506: label uid shows not working
authorSteffen Kamper <info@sk-typo3.de>
Mon, 5 Jan 2009 13:40:45 +0000 (13:40 +0000)
committerSteffen Kamper <info@sk-typo3.de>
Mon, 5 Jan 2009 13:40:45 +0000 (13:40 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@4651 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
t3lib/class.t3lib_befunc.php

index d332091..20ce8f6 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
 2009-01-05  Steffen Kamper  <info@sk-typo3.de> 
 
-       * Fixed bug 10056: Misspelling english word "guesbooks" 
+       * Fixed bug #9506: label uid shows not working 
+       * Fixed bug #10056: Misspelling english word "guesbooks" 
 
 2009-01-04  Dmitry Dulepov  <dmitry@typo3.org>
 
index b57aed7..f2b10f5 100755 (executable)
@@ -2069,6 +2069,11 @@ final class t3lib_BEfunc {
        public static function getProcessedValue($table, $col, $value, $fixed_lgd_chars = 0, $defaultPassthrough = 0, $noRecordLookup = FALSE, $uid = 0, $forceResult = TRUE) {
                global $TCA;
                global $TYPO3_CONF_VARS;
+               
+               if ($col == 'uid') {
+                               // no need to load TCA as uid is not in TCA-array
+                       return $value;
+               }
                        // Load full TCA for $table
                t3lib_div::loadTCA($table);
                        // Check if table and field is configured: