This commit is contained in:
2026-06-19 00:45:09 +02:00
parent b3e8085085
commit ac5b38d8c9
2 changed files with 27 additions and 3 deletions

View File

@@ -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);
}
}