Skip to content

Commit

Permalink
Filter api should just call utf8_strlen
Browse files Browse the repository at this point in the history
  • Loading branch information
mantis committed Jun 16, 2009
1 parent a5bf55d commit c83691f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/filter_api.php
Expand Up @@ -4376,7 +4376,7 @@ function filter_db_get_available_queries( $p_project_id = null, $p_user_id = nul
* @return bool true when under max_length (64) and false when over
*/
function filter_name_valid_length( $p_name ) {
if( utf8_strlen( utf8_decode ( $p_name ) ) > 64 ) {
if( utf8_strlen( $p_name ) > 64 ) {
return false;
} else {
return true;
Expand Down

0 comments on commit c83691f

Please sign in to comment.