From 53047c3d2eae480844ae77904b972e51832b98da Mon Sep 17 00:00:00 2001 From: Lansi Date: Mon, 11 Aug 2014 12:21:27 +0900 Subject: [PATCH] =?UTF-8?q?=EB=A3=B0=EC=85=8B=20=EA=B8=B0=EB=B3=B8=20?= =?UTF-8?q?=EB=A3=B0=EA=B3=BC=20name=EC=9D=B4=20=EB=B9=84=EC=8A=B7?= =?UTF-8?q?=ED=95=A0=20=EB=95=8C=20=EC=B6=94=EA=B0=80=EA=B0=80=20=EC=95=88?= =?UTF-8?q?=20=EB=90=98=EB=8D=98=20=EB=AC=B8=EC=A0=9C=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit strpos를 in_array로 수정. --- classes/validator/Validator.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/validator/Validator.class.php b/classes/validator/Validator.class.php index 8ad9d4f13..d730404ee 100644 --- a/classes/validator/Validator.class.php +++ b/classes/validator/Validator.class.php @@ -714,7 +714,7 @@ class Validator { $name = strtolower($name); - if(strpos('email,userid,url,alpha,alpha_number,number,', $name . ',') !== false) + if($name, in_array(array('email', 'userid', 'url', 'alpha', 'alpha_number', 'number'))) { continue; }