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

if user's name contains CJK character, charts will not display #2136

Open
animaleyeah opened this issue Sep 6, 2016 · 1 comment
Open

if user's name contains CJK character, charts will not display #2136

animaleyeah opened this issue Sep 6, 2016 · 1 comment
Labels
Priority:Important Issues & PRs that are important; broken functions, errors - there are workarounds Type: Bug Bugs within the core SuiteCRM codebase

Comments

@animaleyeah
Copy link

i was using suitecrm 7.7.3

\modules\AOR_Charts\AOR_Chart.php

line 637 function getShortenedLabel()

better using mb_substr instead of substr

private function getShortenedLabel($label, $maxLabelSize = 20) { if(strlen($label) > $maxLabelSize) { return mb_substr($label,0,$maxLabelSize).'...'; } else return $label; }

@shogunpol
Copy link

The issue has been tested on recent version of SuiteCRM(7.7.4), and it appear.
We labeled it as a bug.
@animaleyeah , thanks for raise this issue.

@ijdavie ijdavie added Type: Bug Bugs within the core SuiteCRM codebase Priority:Important Issues & PRs that are important; broken functions, errors - there are workarounds labels Sep 6, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority:Important Issues & PRs that are important; broken functions, errors - there are workarounds Type: Bug Bugs within the core SuiteCRM codebase
Projects
None yet
Development

No branches or pull requests

3 participants