mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-01 10:59:28 +00:00
Fixed Regex Check
This commit is contained in:
@@ -127,7 +127,7 @@ if(!$person->load($uid))
|
||||
{
|
||||
if(elem[i].name.match("^wunsch"))
|
||||
{
|
||||
if(!elem[i].value.match("[12]"))
|
||||
if(!elem[i].value.match("^\-?[1-2]\d{0,0}$"))
|
||||
error=true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user