padString에 문자열 너비가 원하는 길이보다 길때 버그 수정

명장 일람 데이터가 비었을 때 발생하는 버그 수정.
This commit is contained in:
Hide_D committed 2018-04-12 01:48:16 +09:00
1 parent a5b0c7f99f
commit 45a104f9c0
2 files changed
+8 -2

No files matched your search

+3
View File
@@ -103,6 +103,9 @@ class StringUtil
}
$textLen = mb_strwidth($str, 'UTF-8');
if($maxsize <= $textLen){
return $str;
}
$fillTextCnt = intdiv($maxsize - $textLen, $chLen);