Index: typo3/class.db_list.inc
===================================================================
--- typo3/class.db_list.inc (revision 4721)
+++ typo3/class.db_list.inc (working copy)
@@ -563,7 +563,7 @@
if (!strcmp($code,'')) {
$code = '['.$GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.no_title',1).'] - '.htmlspecialchars(t3lib_div::fixed_lgd_cs(t3lib_BEfunc::getRecordTitle($table,$row),$GLOBALS['BE_USER']->uc['titleLen']));
} else {
- $code = htmlspecialchars(t3lib_div::fixed_lgd_cs($code,$this->fixedL));
+ $code = htmlspecialchars(t3lib_div::fixed_lgd_cs($code, t3lib_div::intval_positive($GLOBALS['BE_USER']->uc['titleLen']) ? $GLOBALS['BE_USER']->uc['titleLen'] : $this->fixedL));
if ($code != htmlspecialchars($origCode)) {
$code = ''.$code.'';
}