Skip to content

Commit

Permalink
[5.x] Prevent saving value of parent field to entry data (#10725)
Browse files Browse the repository at this point in the history
  • Loading branch information
duncanmcclean authored Sep 10, 2024
1 parent 4471676 commit ee380ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Http/Controllers/CP/Collections/EntriesController.php
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ public function update(Request $request, $collection, $entry)
->save();
});

$values->forget('parent');
$entry->remove('parent');
}
}

Expand Down

0 comments on commit ee380ae

Please sign in to comment.