CC-4197: Media Library -> Regular Playlist: Some character get cut off in context view

-fixed
This commit is contained in:
denise 2012-08-09 17:55:08 -04:00
parent 00a484d595
commit 321e6c6524
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@
<?php foreach($this->contents as $row) : ?>
<?php
$titleMaxStrLen = 35;
if (strlen($row["track_title"]) > $titleMaxStrLen) {
if (mb_strlen($row["track_title"], 'UTF-8') > $titleMaxStrLen) {
$row["track_title"] = substr($row["track_title"], 0, 34)."...";
}
$artistMaxStrLen = 22;