Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use array_merge instead of addition operator
Using the addition operator, like this, means _archived and _draft cannot be provided by $fields. Array merge avoids this problem by overwriting the $defaults values with those present in $fields.
- Loading branch information