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

This commit is contained in:
Loic Sharma 2012-06-05 22:46:35 -05:00
parent d9802fe656
commit ea3021f3dd
1 changed files with 2 additions and 0 deletions

View File

@ -54,6 +54,8 @@ public static function query($sql, $bindings, $time)
{
foreach ($bindings as $binding)
{
$binding = "'{$binding}'";
$sql = preg_replace('/\?/', $binding, $sql, 1);
}