To stay compatible with CakePHP 1.2 the following line:

if($this->Contact->validates($this->data))

should be:

if($this->Contact->create($this->data) && $this->Contact->validates())

-MI

---------------------------------------------------------------------------

Remember, smart coders answer ten questions for every question they ask. 
So be smart, be cool, and share your knowledge. 

BAKE ON!

blog: http://www.MarianoIglesias.com.ar


-----Mensaje original-----
De: Mariano Iglesias [mailto:[EMAIL PROTECTED] 
Enviado el: Lunes, 05 de Marzo de 2007 10:19 p.m.
Para: '[email protected]'
Asunto: RE: email form

http://community.livejournal.com/cakephp/1370.html


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

Reply via email to