Skip to content

Commit

Permalink
[BUGFIX] ensure search works with utf-8
Browse files Browse the repository at this point in the history
Signed-off-by: Kay Strobach <info@kay-strobach.de>
  • Loading branch information
kaystrobach committed Nov 13, 2024
1 parent e023166 commit f06f3fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/Domain/Service/ValueService.php
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,6 @@ protected function shortenString($string, $length = '30', $append = '...')
if (strlen($string) <= $length) {
return $string;
}
return substr($string, 0, $length).$append;
return mb_substr($string, 0, $length).$append;
}
}

0 comments on commit f06f3fe

Please sign in to comment.