We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 87fa7e2 commit f5bd2c5Copy full SHA for f5bd2c5
src/Illuminate/Database/Eloquent/Concerns/HasAttributes.php
@@ -562,7 +562,7 @@ public function getRelationValue($key)
562
return $this->relations[$key];
563
}
564
565
- if ($this->preventsLazyLoading && ! self::isAutomaticallyEagerLoadingRelationships()) {
+ if ($this->preventsLazyLoading) {
566
$this->handleLazyLoadingViolation($key);
567
568
0 commit comments