this code does not not behave as expected:

$this->save($entry1,false,null);
$this->save($entry2,false,null);

actually the second save becomes an UPDATE instead of an INSERT (which
i would expect).

it has to be changed to

$this->save($entry1,false,null);
$this->id = false;
$this->save($entry2,false,null);

when i look at the model save function i see some cleanup code at the
end of it ... however the stored id leads to an implicit sql UPDATE.

is this the intended behaviour?


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