Browse Source

fix bug in db profiling.

Taylor Otwell 13 years ago
parent
commit
ab17ea674a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      laravel/database/connection.php

+ 1 - 1
laravel/database/connection.php

@@ -239,7 +239,7 @@ class Connection {
 	{
 		Event::fire('laravel: query', array($sql, $bindings, $time));
 
-		static::$queries = compact('sql', 'bindings', 'time');
+		static::$queries[] = compact('sql', 'bindings', 'time');
 	}
 
 	/**