Commit 9003957b authored by Pavel Puchkin's avatar Pavel Puchkin

One more fix about custom query grammar

parent 23d23dd0
......@@ -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