Skip to content

Commit

Permalink
fix filling
Browse files Browse the repository at this point in the history
  • Loading branch information
kolirt committed Oct 20, 2024
1 parent 8b261a0 commit 4f36578
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
],
"homepage": "https://github.com/kolirt/laravel-master-model",
"license": "MIT",
"version": "4.0.1",
"version": "4.0.2",
"authors": [
{
"name": "kolirt"
Expand Down
1 change: 1 addition & 0 deletions src/Traits/MasterModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ public function fill(array $attributes)
'relation' => $relation,
'value' => $value
];
unset($attributes[$key]);
break;
}
}
Expand Down

0 comments on commit 4f36578

Please sign in to comment.