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

명장 일람 데이터가 비었을 때 발생하는 버그 수정.
This commit is contained in:
2018-04-12 01:48:16 +09:00
parent a5b0c7f99f
commit 45a104f9c0
2 changed files with 8 additions and 2 deletions
+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);