mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
룰셋 기본 룰과 name이 비슷할 때 추가가 안 되던 문제 수정
strpos를 in_array로 수정.
This commit is contained in:
parent
378ae9b538
commit
59525b6b95
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue