You should either check if $this->data is present before running the 
save operation or if you need to access results from the model before 
the save method you show use find instead of read.
[email protected] wrote:
> Hi
> I have this situation.
> I use cake 1.2 stable.
> I have a save operation on a model.
> Now if I make a read operation on a model before the save operation I
> get that in the $this->data I have also data that come from the read
> operation.
> How can I avoid this situation?
> Many  Thanks
>
> >
>
>   


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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