From c2905085c1b37998e3bfbdb7dc6ab2c78ef6d3c9 Mon Sep 17 00:00:00 2001 From: Robin Millette Date: Sat, 7 Feb 2009 19:33:18 +0000 Subject: trac #1155 ++ replace strlen with mb_strlen for all utf8 strings. --- actions/finishopenidlogin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actions/finishopenidlogin.php') diff --git a/actions/finishopenidlogin.php b/actions/finishopenidlogin.php index bc9151120..1e7b73a7f 100644 --- a/actions/finishopenidlogin.php +++ b/actions/finishopenidlogin.php @@ -242,7 +242,7 @@ class FinishopenidloginAction extends Action } } - if ($sreg['fullname'] && strlen($sreg['fullname']) <= 255) { + if ($sreg['fullname'] && mb_strlen($sreg['fullname']) <= 255) { $fullname = $sreg['fullname']; } -- cgit v1.2.3-54-g00ecf