Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with remark trimming #95

Open
lukaslau opened this issue Sep 10, 2024 · 1 comment
Open

Issue with remark trimming #95

lukaslau opened this issue Sep 10, 2024 · 1 comment

Comments

@lukaslau
Copy link

Functions strlen and substr should be replaced with mb_strlen and mb_substr because sometimes it crashes when trimming message.

return strlen($message) > self::REMARK_LIMIT ? substr($message,0,self::REMARK_LIMIT)."..." : $message;

@justelis22
Copy link
Collaborator

Hi there @lukaslau,

Thanks for the contribution! I have forwarded the information to your development team.

We will adjust the upcoming release.

Best Regards,
Invertus Support team.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants