Skip to content

Commit

Permalink
Merge pull request #9790 from ldruneau/5.1
Browse files Browse the repository at this point in the history
[5.1] Forgot getBindings on whereExists
  • Loading branch information
taylorotwell committed Jul 30, 2015
2 parents 676ebf3 + b082293 commit c9c74ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Database/Query/Builder.php
Original file line number Diff line number Diff line change
Expand Up @@ -694,7 +694,7 @@ public function whereExists(Closure $callback, $boolean = 'and', $not = false)

$this->wheres[] = compact('type', 'operator', 'query', 'boolean');

$this->addBinding($query, 'where');
$this->addBinding($query->getBindings(), 'where');

return $this;
}
Expand Down

0 comments on commit c9c74ac

Please sign in to comment.