Also, don't forget to exit after the redirect():

$this->redirect('/users/index');
exit;

-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: Jueves, 22 de Febrero de 2007 11:17 a.m.
Para: '[email protected]'
Asunto: RE: Problem with Controller: How to mix db and posted values on
edit?

if ($this->User->save($this->data['User'], true, array('email',
'date_expires'))) {
                $this->redirect('/users/index');
}


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