From 41d434aa530015f65e7de682c15929dafcadc5fc Mon Sep 17 00:00:00 2001 From: gnuboard Date: Fri, 26 Apr 2013 16:35:41 +0900 Subject: [PATCH] =?UTF-8?q?=ED=9C=B4=EB=8C=80=ED=8F=B0=EB=B2=88=ED=98=B8?= =?UTF-8?q?=20=EC=B2=B4=ED=81=AC=EC=8B=9C=20=EC=88=AB=EC=9E=90=EC=99=B8?= =?UTF-8?q?=EC=97=90=EB=8A=94=20=EB=AA=A8=EB=91=90=20=EA=B3=B5=EB=B0=B1?= =?UTF-8?q?=EC=9C=BC=EB=A1=9C=20=EC=B2=98=EB=A6=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugin/kcp/kcpcert.head.skin.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin/kcp/kcpcert.head.skin.php b/plugin/kcp/kcpcert.head.skin.php index b997e1d87..87baa3982 100644 --- a/plugin/kcp/kcpcert.head.skin.php +++ b/plugin/kcp/kcpcert.head.skin.php @@ -5,7 +5,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가 if ($msg = valid_mb_hp($mb_hp)) alert($msg, "", true, true); if ($msg = exist_mb_hp($mb_hp, $mb_id)) alert($msg, "", true, true); -$reg_hp = hyphen_hp_number($mb_hp); +$reg_hp = preg_replace("/[^0-9]/", "", trim($_POST['mb_hp'])); /* ======================================================================================================= */ /* = 휴대폰인증 및 성인인증 = */ @@ -23,7 +23,7 @@ if($w == '') { } else if($w == 'u') { // 휴대폰번호 변경체크 - $old_hp = preg_replace("/[^0-9]/", "", $_POST['old_mb_hp']); + $old_hp = preg_replace("/[^0-9]/", "", trim($_POST['old_mb_hp'])); if($old_hp !== $reg_hp) { // 본인인증체크