updated core to 8.6.1 via composer
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user