Commit ddd6d447 authored by Taylor Otwell's avatar Taylor Otwell

fix bug affecting using db::raw with eloquent.

parent 791dbdeb
......@@ -158,6 +158,8 @@ class Connection {
if ($value instanceof Expression) unset($bindings[$key]);
}
$bindings = array_values($bindings);
$sql = $this->transform($sql, $bindings);
$this->queries[] = compact('sql', 'bindings');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment