Skip to content

Commit

Permalink
Merge pull request #2 from bashkarev/master
Browse files Browse the repository at this point in the history
error merge with
  • Loading branch information
Sammaye committed Apr 26, 2016
2 parents ea90306 + 4ad9e24 commit 9dd08b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Document.php
Original file line number Diff line number Diff line change
Expand Up @@ -884,7 +884,7 @@ public function find($filter = [], $options = [])

$query = $this->getDbCriteria();
if($filter instanceof Query){
$query->mergeWith($this->getDbCriteria());
$query->mergeWith($filter);
}else{
$query->andCondition($filter);
}
Expand Down

0 comments on commit 9dd08b4

Please sign in to comment.