Commit 3f803d4e authored by Taylor Otwell's avatar Taylor Otwell

Merge pull request #1719 from neoascetic/fix_custom_grammar

One more fix about custom query grammar
parents 158b8197 9003957b
......@@ -75,7 +75,8 @@ class Connection {
if (isset(\Laravel\Database::$registrar[$this->driver()]))
{
return $this->grammar = \Laravel\Database::$registrar[$this->driver()]['query']();
$resolver = \Laravel\Database::$registrar[$this->driver()]['query'];
return $this->grammar = $resolver($this);
}
switch ($this->driver())
......
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