Skip to content

Commit

Permalink
tidier
Browse files Browse the repository at this point in the history
  • Loading branch information
edalzell committed Dec 13, 2024
1 parent 59c9267 commit 83108ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Entries/Entry.php
Original file line number Diff line number Diff line change
Expand Up @@ -701,7 +701,7 @@ public function makeFromRevision($revision)

$entry
->published($attrs['published'])
->data(array_merge($this->data()->all(), $attrs['data']))
->data($this->data()->merge($attrs['data']))
->slug($attrs['slug']);

if ($this->collection()->dated() && ($date = Arr::get($attrs, 'date'))) {
Expand Down

0 comments on commit 83108ea

Please sign in to comment.