# This patch file was generated by NetBeans IDE # This patch can be applied using context Tools: Apply Diff Patch action on respective folder. # It uses platform neutral UTF-8 encoding. # Above lines and this line are ignored by the patching process. --- administrator/components/com_comprofiler/controller/controller.tab.php +++ administrator/components/com_comprofiler/controller/controller.tab.php @@ -57,8 +57,8 @@ } else { $text = $orders[$i]->text; } - if ( strlen( $text ) > $chop ) { - $text = substr( $text, 0, $chop ) . '...'; \ No newline at end of file + if ( cbIsoUtf_strlen( $text ) > $chop ) { + $text = trim( cbIsoUtf_substr( $text, 0, $chop ) ) . '...'; \ No newline at end of file } $order[] = moscomprofilerHTML::makeOption( $orders[$i]->value, $orders[$i]->value . ' (' . $text . ')' );