Commit d9e213a2 authored by jepso's avatar jepso

fixes #484

parent 3e39fcf3
......@@ -40,6 +40,6 @@ class Doctrine_Validator_Nospace extends Doctrine_Validator_Driver
*/
public function validate($value)
{
return ($value === null || ! preg_match('/[\s\t\r\n]/', $value));
return ($value === null || ! preg_match('/\s/', $value));
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment