fixes #484
This commit is contained in:
parent
3e39fcf30c
commit
d9e213a2cf
@ -40,6 +40,6 @@ class Doctrine_Validator_Nospace extends Doctrine_Validator_Driver
|
|||||||
*/
|
*/
|
||||||
public function validate($value)
|
public function validate($value)
|
||||||
{
|
{
|
||||||
return ($value === null || ! preg_match('/[\s\t\r\n]/', $value));
|
return ($value === null || ! preg_match('/\s/', $value));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user