Saturday, August 11, 2012

Re: invalidFields() returns duplicates?

you need to show us some code
but I bet that you call save/validate + invalidate or something like that
it just adds the same message twice to the error message stack


Am Samstag, 11. August 2012 18:26:09 UTC+2 schrieb Shahruk Khan:
array(
'email' => array(
(int) 0 => 'You must enter a proper email address.',
(int) 1 => 'You must enter a proper email address.'
)
)

I get this response when all I have is one field called email in $this->request->data. Any help please?

--
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en-US.
 
 

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate