From f5ad53538780e7f71980f26c54d15355984988a8 Mon Sep 17 00:00:00 2001 From: sungkyuchun Date: Mon, 20 Jul 2015 16:38:20 +0900 Subject: [PATCH] empty_mb_name checks mb_id, not mb_name empty_mb_name is a function checking name from user input form. But it was not checked by empty_mb_name function. So I fix it. --- bbs/register_form_update.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bbs/register_form_update.php b/bbs/register_form_update.php index 83144fecc..44e5e39ab 100644 --- a/bbs/register_form_update.php +++ b/bbs/register_form_update.php @@ -73,7 +73,7 @@ if ($w == '' || $w == 'u') { if($w == '' && $mb_password != $mb_password_re) alert('비밀번호가 일치하지 않습니다.'); - if ($msg = empty_mb_name($mb_id)) alert($msg, "", true, true); + if ($msg = empty_mb_name($mb_name)) alert($msg, "", true, true); if ($msg = empty_mb_nick($mb_nick)) alert($msg, "", true, true); if ($msg = empty_mb_email($mb_email)) alert($msg, "", true, true); if ($msg = reserve_mb_id($mb_id)) alert($msg, "", true, true);