From c83691f745f505bbb754806c7b393100129c84b4 Mon Sep 17 00:00:00 2001 From: Paul Richards Date: Tue, 16 Jun 2009 21:40:05 +0100 Subject: [PATCH] Filter api should just call utf8_strlen --- core/filter_api.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/filter_api.php b/core/filter_api.php index df97846657..112f49fdea 100644 --- a/core/filter_api.php +++ b/core/filter_api.php @@ -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;