fix: sqlform trunctate search results doesn't work

This commit is contained in:
Martin Kamerbeek 2006-08-18 13:08:22 +00:00
parent 70bea40b94
commit f7654c83d6
2 changed files with 7 additions and 0 deletions

View file

@ -3898,6 +3898,8 @@ my $value;
} else {
$value = $row{$fieldProperties->{$_}->{fieldName}};
}
$value = substr($value, 0, $fieldProperties->{$_}->{summaryLength}) if ($fieldProperties->{$_}->{summaryLength});
$value =~ s/\n/<br \/>/g if (1);