Bug #1995 » 1995-1.patch
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 . ')' );
|