Commit ea3021f3 by Loic Sharma

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

parent d9802fe6
......@@ -54,6 +54,8 @@ class Profiler {
{
foreach ($bindings as $binding)
{
$binding = "'{$binding}'";
$sql = preg_replace('/\?/', $binding, $sql, 1);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment