Skip to content

Commit

Permalink
Merge pull request #898 from lansi951/develop
Browse files Browse the repository at this point in the history
룰셋 기본 룰과 name이 비슷할 때 추가가 안 되던 문제 수정
  • Loading branch information
bnu committed Sep 11, 2014
2 parents 0e7a8e2 + 44ea68e commit b4c8bb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/validator/Validator.class.php
Expand Up @@ -714,7 +714,7 @@ function _compile2js()
{
$name = strtolower($name);

if(strpos('email,userid,url,alpha,alpha_number,number,', $name . ',') !== false)
if(in_array($name, array('email', 'userid', 'url', 'alpha', 'alpha_number', 'number')))
{
continue;
}
Expand Down

0 comments on commit b4c8bb9

Please sign in to comment.