Skip to content

Commit

Permalink
Sync original before term update
Browse files Browse the repository at this point in the history
  • Loading branch information
daun committed Nov 5, 2024
1 parent ba04ca4 commit 0cf589b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Http/Controllers/CP/Taxonomies/TermsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,8 @@ public function update(Request $request, $taxonomy, $term, $site)

$term = $term->fromWorkingCopy();

$term->term()->syncOriginal();

$fields = $term->blueprint()->fields()->addValues($request->except('id'));

$fields->validate([
Expand Down

0 comments on commit 0cf589b

Please sign in to comment.