padString에 문자열 너비가 원하는 길이보다 길때 버그 수정
명장 일람 데이터가 비었을 때 발생하는 버그 수정.
This commit is contained in:
@@ -103,6 +103,9 @@ class StringUtil
|
||||
}
|
||||
|
||||
$textLen = mb_strwidth($str, 'UTF-8');
|
||||
if($maxsize <= $textLen){
|
||||
return $str;
|
||||
}
|
||||
|
||||
$fillTextCnt = intdiv($maxsize - $textLen, $chLen);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user