Ok, first step is solved. The save-procedure must be like this: $this->Reference->id = $id; $save['Reference']['id'] = $id; // this line was missing $save['Folder']['Folder'] = $fIds; $this->Reference->save($save);
However, now it does a "copy", not a "move" and the source folder is still included. This might be a problem of my code, though. Isn't there an easier way to edit many-to-many relationships that are more elegant do not invole custom SQL? Thanks, Christian --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
