# 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/comprofiler.class.php +++ administrator/components/com_comprofiler/comprofiler.class.php @@ -1741,7 +1741,7 @@ */ function cbutf8_substr( $str, $start, $length = null ) { if ( function_exists( 'mb_substr' ) ) { - return mb_substr( $str, $start, $length ); + return mb_substr( $str, $start, $length, 'UTF-8' ); } else { $ar = null; preg_match_all("/./u", $str, $ar);