Project

General

Profile

Bug #1995 » 1995-1.patch

krileon, 21 October 2010 21:45

View differences:

administrator/components/com_comprofiler/controller/controller.tab.php
} else {
$text = $orders[$i]->text;
}
if ( strlen( $text ) > $chop ) {
$text = substr( $text, 0, $chop ) . '...';
if ( cbIsoUtf_strlen( $text ) > $chop ) {
$text = trim( cbIsoUtf_substr( $text, 0, $chop ) ) . '...';
}
$order[] = moscomprofilerHTML::makeOption( $orders[$i]->value, $orders[$i]->value . ' (' . $text . ')' );
(2-2/3)