There is no need to run sanitize on a query like the one you have above. Look in the api at beforeFind() the param is the queryData which is an associative array of conditions, fields, order, etc. If you run Sanitize at all, it should only be on conditions, but even then its a bit of overkill since Cake already escapes these correctly.
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
