Skip to content

Commit

Permalink
Remove underscore condition
Browse files Browse the repository at this point in the history
  • Loading branch information
jenssegers committed Dec 28, 2015
1 parent 251376d commit 9a5427e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Model.php
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ public function isFillable($key)
return false;
}

return empty($this->fillable) && ! Str::startsWith($key, '_');
return empty($this->fillable);
}

/**
Expand Down

0 comments on commit 9a5427e

Please sign in to comment.