Browse Source

Fixed bug where the profiler did not correctly put quotes around bindings

Loic Sharma 12 years ago
parent
commit
ea3021f3dd
1 changed files with 2 additions and 0 deletions
  1. 2 0
      laravel/profiling/profiler.php

+ 2 - 0
laravel/profiling/profiler.php

@@ -54,6 +54,8 @@ class Profiler {
 	{
 		foreach ($bindings as $binding)
 		{
+			$binding = "'{$binding}'";
+
 			$sql = preg_replace('/\?/', $binding, $sql, 1);
 		}