Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit f5bd2c5

Browse filesBrowse files
authored
Restore lazy loading check (#55817)
1 parent 87fa7e2 commit f5bd2c5
Copy full SHA for f5bd2c5

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎src/Illuminate/Database/Eloquent/Concerns/HasAttributes.php

Copy file name to clipboardExpand all lines: src/Illuminate/Database/Eloquent/Concerns/HasAttributes.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -562,7 +562,7 @@ public function getRelationValue($key)
562562
return $this->relations[$key];
563563
}
564564

565-
if ($this->preventsLazyLoading && ! self::isAutomaticallyEagerLoadingRelationships()) {
565+
if ($this->preventsLazyLoading) {
566566
$this->handleLazyLoadingViolation($key);
567567
}
568568

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.