Skip to content

Commit

Permalink
Merge pull request #153 from skipperbent/v4-development
Browse files Browse the repository at this point in the history
version 4.15.7
  • Loading branch information
skipperbent authored May 23, 2023
2 parents e46b35c + 01f1da7 commit 112054b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Pecee/Pixie/QueryBuilder/Adapters/BaseAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -579,6 +579,10 @@ protected function setSelectStatement(array &$statements, array &$bindings): boo
}
}

if (isset($statements['selects'])) {
$statements['selects'] = array_unique($statements['selects']);
}

return $hasDistincts;
}

Expand Down

0 comments on commit 112054b

Please sign in to comment.