fix bug in db profiling.

This commit is contained in:
Taylor Otwell 2012-02-15 13:29:37 -06:00
parent 6e83add76f
commit ab17ea674a
1 changed files with 1 additions and 1 deletions

View File

@ -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');
}
/**