Skip to content

Commit

Permalink
Merge branch '5.5'
Browse files Browse the repository at this point in the history
  • Loading branch information
GrahamCampbell committed Dec 18, 2017
2 parents 1a0eb89 + ce07916 commit e3dc9cf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Query/Builder.php
Original file line number Diff line number Diff line change
Expand Up @@ -1087,7 +1087,9 @@ protected function addDateBasedWhere($type, $column, $operator, $value, $boolean
{
$this->wheres[] = compact('column', 'type', 'boolean', 'operator', 'value');

$this->addBinding($value, 'where');
if (! $value instanceof Expression) {
$this->addBinding($value, 'where');
}

return $this;
}
Expand Down

0 comments on commit e3dc9cf

Please sign in to comment.