Commit 1dd6daf7 authored by Taylor Otwell's avatar Taylor Otwell

trim sql before executing

parent df84e363
......@@ -118,7 +118,7 @@ class Connection {
$this->queries[] = compact('sql', 'bindings');
return $this->execute($this->pdo->prepare($sql), $bindings);
return $this->execute($this->pdo->prepare(trim($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