Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prevent MissingAttributeException for guard_name
When new Laravel feature `Model::preventAccessingMissingAttributes()` is enabled you may get a `MissingAttributeException` for `guard_name`. This change uses `getAttributeValue()` to prevent the exception. Fixes #2215
- Loading branch information