Fix bug in connection with custom grammars.
This commit is contained in:
parent
653770a3eb
commit
5fd1ea527f
|
@ -75,7 +75,7 @@ protected function grammar()
|
||||||
|
|
||||||
if (isset(\Laravel\Database::$registrar[$this->driver()]))
|
if (isset(\Laravel\Database::$registrar[$this->driver()]))
|
||||||
{
|
{
|
||||||
\Laravel\Database::$registrar[$this->driver()]['query']();
|
return $this->grammar = \Laravel\Database::$registrar[$this->driver()]['query']();
|
||||||
}
|
}
|
||||||
|
|
||||||
switch ($this->driver())
|
switch ($this->driver())
|
||||||
|
|
Loading…
Reference in New Issue