beforeValidate() is being invoked through the normal flow, i.e. I am
not calling it arbitrarily. Here's my Controller code. Thanks.
function register() {
if ( !empty($this->data) ) {
if ( $this->User->validates($this->data) ) {
$this->User->save($this->data);
$this->flash('Your registration was
successful.', '/users/
register');
} else {
$this->validateErrors($this->User);
//$this->flash('An error occurred during your
registration.', '/
users/register');
}
}
$this->render();
}
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---