Hey all,
I'm having a strange problem - My HABTM relationship seems to be working out
alright except I cannot remove the last remaining entry.

This is the situation:

areas
channels
areas_channels

I have no problem in adding ares to channels. I can remove areas from
channels too... I just cannot remove the last area assigned to a channel.

I have:

$channel =

[Channel] => Array(
  [id], etc etc
)

[Area] => Array(
)

$this->Channel->save($channel);

And that saves without a problem except it does not remove all the areas
from that channel.

Is there something I am missing?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to