Skip to content

Commit

Permalink
fix eager loading retroactively laravel/framework#51825
Browse files Browse the repository at this point in the history
  • Loading branch information
Marius committed Dec 3, 2024
1 parent b0b9618 commit e0050bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Eloquent/CustomRelations/RelationCleverTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ protected function setConstraintsStaticFlag(BaseModel $model): void
{
if (
'' === (string)RelationCleverTrait::$noConstraintsForRelationName
|| '' === (string)$model->nowEagerLoadingRelationNameWithNoConstraints
&& '' === (string)$model->nowEagerLoadingRelationNameWithNoConstraints
) {
return;
}
Expand Down

0 comments on commit e0050bb

Please sign in to comment.