This passes the ID for the "Promotion" properly but not for the
associated title and body:

-------------------------------------------------------------------------------------
$this->Promotion->id = $id; // Set the IDs so we update rows instead
of creating new ones.
$current = $this->Promotion->find('first', array('conditions' => array
('Promotion.id' => $id),'fields' => array('title_id','body_id')));
$this->Promotion->Title->id = $current['Promotion']['title_id'];
$this->Promotion->Body->id = $current['Promotion']['body_id'];
-------------------------------------------------------------------------------------

Any ideas?
--~--~---------~--~----~------------~-------~--~----~
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