Skip to content

Comments

If the user only removes some habtm relations, afterSave doesn't detect the changes...#16

Open
essemme wants to merge 1 commit intoalkemann:masterfrom
essemme:patch-1
Open

If the user only removes some habtm relations, afterSave doesn't detect the changes...#16
essemme wants to merge 1 commit intoalkemann:masterfrom
essemme:patch-1

Conversation

@essemme
Copy link

@essemme essemme commented May 16, 2012

( when $created == false) and keeps the old Ids. Just a suggested little patch:
$id_changes = am(array_diff($currentIds,$oldIds),array_diff($oldIds,$currentIds));
intead of $id_changes = array_diff($currentIds,$oldIds);

…ed == false) doesn't detect the changes and keeps the old Ids. Just a suggested little patch.

$id_changes = am(array_diff($currentIds,$oldIds),array_diff($oldIds,$currentIds));
intead of $id_changes = array_diff($currentIds,$oldIds);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant