Bug-fix-patch-19
Solved "Malformed UTF-8 characters" error in user directory listing page for https://github.com/ladybirdweb/faveo-helpdesk/issues/309
This commit is contained in:
@@ -109,7 +109,7 @@ class UserController extends Controller
|
||||
}
|
||||
if (strlen($string) > 20) {
|
||||
// truncate string
|
||||
$stringCut = substr($string, 0, 20);
|
||||
$stringCut = mb_substr($string, 0, 20, "UTF-8");
|
||||
} else {
|
||||
$stringCut = $string;
|
||||
}
|
||||
|
Reference in New Issue
Block a user