Adding return true did it!!!!!! THANK YOU!

I really appreciate the help Jon and francky06l.



On Aug 4, 1:02 pm, francky06l <[EMAIL PROTECTED]> wrote:
> well spotted Jon :-)
>
> On Aug 4, 7:15 pm, "Jon Bennett" <[EMAIL PROTECTED]> wrote:
>
> > > - Comment your beforeSave function
> > > - code $this->Account->save($this->data['Account'], null, false);
>
> > the problem lies with your beforeSave method, it doesn't return true,
> > so Model->save() is never called.
>
> > add return true; to the bottom of your beforeSave method and it should be 
> > fine.
>
> > pretty sure the manual says about this.
>
> > hth
>
> > jon
>
> > --
>
> > jon bennett
> > w:http://www.jben.net/
> > iChat (AIM): jbendotnet Skype: jon-bennett


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