check
This commit is contained in:
@@ -314,6 +314,10 @@ final class UserSelfManagementService
|
||||
{
|
||||
$trimmed = trim($value);
|
||||
|
||||
return mb_substr($trimmed, 0, $maxLength);
|
||||
if (function_exists('mb_substr')) {
|
||||
return mb_substr($trimmed, 0, $maxLength);
|
||||
}
|
||||
|
||||
return substr($trimmed, 0, $maxLength);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user