X-Git-Url: http://www.aleph1.co.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=web%2Fcore%2Fmodules%2Ftext%2Ftext.module;fp=web%2Fcore%2Fmodules%2Ftext%2Ftext.module;h=a8c2b847fe42069ab97a04c1913858d5e0f4affd;hb=0bf8d09d2542548982e81a441b1f16e75873a04f;hp=b88fdc1fd74cb7fff7d2952331ef07dd80818fb4;hpb=74df008bdbb3a11eeea356744f39b802369bda3c;p=yaffs-website diff --git a/web/core/modules/text/text.module b/web/core/modules/text/text.module index b88fdc1fd..a8c2b847f 100644 --- a/web/core/modules/text/text.module +++ b/web/core/modules/text/text.module @@ -91,7 +91,7 @@ function text_summary($text, $format = NULL, $size = NULL) { } // If we have a short body, the entire body is the summary. - if (Unicode::strlen($text) <= $size) { + if (mb_strlen($text) <= $size) { return $text; }