mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-11 22:42:14 +09:00
Merge pull request #898 from lansi951/develop
룰셋 기본 룰과 name이 비슷할 때 추가가 안 되던 문제 수정
This commit is contained in:
commit
b4c8bb9bb9
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(in_array($name, array('email', 'userid', 'url', 'alpha', 'alpha_number', 'number')))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue