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

View File

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