I would avoid setting the id from inside the model functions and just prevent the whole trouble. Then I'm sure you will find alternative ways of solving your problem. In the case of hiding the posts, I think you don't even need to change the state of every child post in the database, it's enough to know that the parent is hidden.
Bernardo --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
