* Fixed issue 7052: Permission problem of RTE images
[Packages/TYPO3.CMS.git] / typo3 / class.show_rechis.inc
index 58a5a3a..8cb0a13 100755 (executable)
@@ -781,9 +781,7 @@ class recordHistory {
                $out = $table.':'.$uid;
                if ($labelField = $TCA[$table]['ctrl']['label'])        {
                        $record = t3lib_BEfunc::getRecordRaw($table, 'uid='.intval($uid));
-                       if (strlen(trim($record[$labelField]))) {
-                               $out .= ' ('.htmlspecialchars($record[$labelField]).')';
-                       }
+                       $out .= ' ('.t3lib_BEfunc::getRecordTitle($table, $record, TRUE).')';
                }
                return $out;
        }