Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[7.x] $this->exists is not updated after pivot delete #33347

Merged
merged 3 commits into from
Jun 26, 2020
Merged

[7.x] $this->exists is not updated after pivot delete #33347

merged 3 commits into from
Jun 26, 2020

Conversation

tobiasnitsche
Copy link
Contributor

After deleting a pivot model, the flag $this->exists is not updated to false after delete.

This issue only appears when no primary key for the pivot model is defined.

$this->exists = false is not set, if no primary key is defined
@driesvints driesvints changed the title $this->exists is not updated after pivot delete [7.x] $this->exists is not updated after pivot delete Jun 26, 2020
@taylorotwell taylorotwell merged commit 2dc71a5 into laravel:7.x Jun 26, 2020
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.

2 participants