Skip to content

Commit

Permalink
Restore empty line
Browse files Browse the repository at this point in the history
  • Loading branch information
staudenmeir committed Feb 18, 2019
1 parent 8ea498f commit e558f01
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Relations/BelongsToThrough.php
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ protected function setSoftDeletes()
if ($model === $this->parent) {
continue;
}

if ($this->hasSoftDeletes($model)) {
$this->query->whereNull($model->getQualifiedDeletedAtColumn());
}
Expand Down

0 comments on commit e558f01

Please sign in to comment.