Skip to content

Commit 5fd1ea5

Browse files
committed
Fix bug in connection with custom grammars.
1 parent 653770a commit 5fd1ea5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

laravel/database/connection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ protected function grammar()
7575

7676
if (isset(\Laravel\Database::$registrar[$this->driver()]))
7777
{
78-
\Laravel\Database::$registrar[$this->driver()]['query']();
78+
return $this->grammar = \Laravel\Database::$registrar[$this->driver()]['query']();
7979
}
8080

8181
switch ($this->driver())

0 commit comments

Comments
 (0)