How to set custom error message for sfValidatorPropelUnique?

I have tried:

new sfValidatorPropelUnique(
array('model' => 'User', 'column' => array('email')),
array('invalid' => 'My custom error message')
)

but I still get 'An object with the same "email" already exist.' error
message...

-- 
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.

Reply via email to