fix bug in db profiling.
This commit is contained in:
parent
6e83add76f
commit
ab17ea674a
|
@ -239,7 +239,7 @@ protected function log($sql, $bindings, $time)
|
|||
{
|
||||
Event::fire('laravel: query', array($sql, $bindings, $time));
|
||||
|
||||
static::$queries = compact('sql', 'bindings', 'time');
|
||||
static::$queries[] = compact('sql', 'bindings', 'time');
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue