Browse Source

Use DB::escape() shortcut in profiler.

Franz Liedke 12 years ago
parent
commit
d7dfd4f915
1 changed files with 1 additions and 1 deletions
  1. 1 1
      laravel/profiling/profiler.php

+ 1 - 1
laravel/profiling/profiler.php

@@ -145,7 +145,7 @@ class Profiler {
 	{
 		foreach ($bindings as $binding)
 		{
-			$binding = Database::connection()->pdo->quote($binding);
+			$binding = Database::escape($binding);
 
 			$sql = preg_replace('/\?/', $binding, $sql, 1);
 			$sql = htmlspecialchars($sql);