글자 너비를 반각 18자까지 확장

This commit is contained in:
Hide_D committed 2018-10-29 02:39:23 +09:00
1 parent 2cc0150bec
commit 13fab5ebe4
13 files changed
+174 -14

No files matched your search

+2 -2
View File
@@ -25,8 +25,8 @@ function checkNicknameDup($nickname){
return '닉네임을 입력해주세요';
}
$length = mb_strlen($nickname, 'utf-8');
if($length < 1 || $length > 9){
$length = mb_strwidth($nickname, 'utf-8');
if($length < 1 || $length > 18){
return '적절하지 않은 길이입니다.';
}