Hi, Sorry for may bad english :( I want *to stop and break the execution of query if there is an error*, let's say that i have two chained "find"(*find('default')->find('first')*) I passed a param to the *find('default')*(exp.: *min=5*) and this param *hasn't the format that i want*(*min=a_string*), the problem that the executed query *just ignore the param* ! How i can stop the execution ? I tried to do *return false* inside the find instead of *return $query* but this doesn't has any effect !
Thanks -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups "CakePHP" group. To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscr...@googlegroups.com. To post to this group, send email to cake-php@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php. For more options, visit https://groups.google.com/d/optout.