Hi bakers!
I've problems with advanced validation (
http://wiki.cakephp.org/tutorials:complex_model_validation_routines#step_8test_it_out
)
when i try to insert  a email already registered, cake doesn't find it
because the email string was modified.
For example i insert [EMAIL PROTECTED]:

If I active debug i see the following sql string:

SELECT `User`.`id`, `User`.`username`, `User`.`email`,
`User`.`password`, `User`.`firstname`, `User`.`lastname`,
`User`.`phone`,  `User`.`modified`, `User`.`created` FROM `users` AS
`User` WHERE `User`.`email` = "[EMAIL PROTECTED]" LIMIT 1

look email` = "[EMAIL PROTECTED]" !

If i do it in controller i cand find email.
What's I am doing wrong? :(

Thanks for answer.


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to