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

Profile data output in posts is not correct #6

Open
inliquid opened this issue Aug 29, 2014 · 0 comments
Open

Profile data output in posts is not correct #6

inliquid opened this issue Aug 29, 2014 · 0 comments

Comments

@inliquid
Copy link

Sometimes this data is not shown at all.
plugin.php:232

// Truncate the field's contents to 30 characters and add it to the post's info array.
//if (strlen($field["data"]) > 30) $field["data"] = substr($field["data"], 0, 30)."...";
if (mb_strlen($field["data"],'UTF-8') > 30) $field["data"] = mb_substr($field["data"], 0, 30, 'UTF-8')."...";

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

1 participant