Commit 41554a1b68ba9f4ff0d0c4aa04f650bd683e9af2
1 parent
400b2182
KTS-1537
"Document Title truncation on document details to be removed" Fixed. Reviewed By: Kevin git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@6305 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
2 additions
and
1 deletions
plugins/ktcore/KTColumns.inc.php
| ... | ... | @@ -55,7 +55,8 @@ class AdvancedTitleColumn extends AdvancedColumn { |
| 55 | 55 | /* this chack has to be done so that any titles longer than 40 characters is not displayed incorrectly. |
| 56 | 56 | as mozilla cannot wrap text without white spaces */ |
| 57 | 57 | if(strlen($aDataRow["document"]->getName()) > 40){ |
| 58 | - $outStr = htmlentities(substr($aDataRow["document"]->getName(), 0, 40)."...", ENT_NOQUOTES, 'UTF-8'); | |
| 58 | + mb_internal_encoding("UTF-8"); | |
| 59 | + $outStr = htmlentities(mb_substr($aDataRow["document"]->getName(), 0, 40)."...", ENT_NOQUOTES, 'UTF-8'); | |
| 59 | 60 | }else{ |
| 60 | 61 | $outStr = htmlentities($aDataRow["document"]->getName(), ENT_NOQUOTES, 'UTF-8'); |
| 61 | 62 | } | ... | ... |