Skip to content

Commit

Permalink
fix(QueryGenerator) eliminate duplicate columns in query
Browse files Browse the repository at this point in the history
  • Loading branch information
joebordes committed May 30, 2019
1 parent 83a6f92 commit abecce0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/QueryGenerator/QueryGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ public function reset() {
}

public function setFields($fields) {
$this->fields = $fields;
$this->fields = array_unique($fields);
$this->setReferenceFields();
}

Expand Down

0 comments on commit abecce0

Please sign in to comment.