From e558f0182acde8a365e628b87b6cbf62d89eaa20 Mon Sep 17 00:00:00 2001 From: Jonas Staudenmeir Date: Mon, 18 Feb 2019 01:59:13 +0100 Subject: [PATCH] Restore empty line --- src/Relations/BelongsToThrough.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Relations/BelongsToThrough.php b/src/Relations/BelongsToThrough.php index 0ae7811..1ac54cf 100644 --- a/src/Relations/BelongsToThrough.php +++ b/src/Relations/BelongsToThrough.php @@ -142,6 +142,7 @@ protected function setSoftDeletes() if ($model === $this->parent) { continue; } + if ($this->hasSoftDeletes($model)) { $this->query->whereNull($model->getQualifiedDeletedAtColumn()); }