* Add underline to checkcode method.
This commit is contained in:
@@ -374,7 +374,7 @@ class baseValidater
|
||||
*/
|
||||
public static function checkCode($var)
|
||||
{
|
||||
return self::checkREG($var, '|^[A-Za-z0-9]+$|');
|
||||
return self::checkREG($var, '|^[A-Za-z0-9_]+$|');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user