Fixed bug where the profiler did not correctly put quotes around bindings
This commit is contained in:
parent
d9802fe656
commit
ea3021f3dd
|
@ -54,6 +54,8 @@ public static function query($sql, $bindings, $time)
|
|||
{
|
||||
foreach ($bindings as $binding)
|
||||
{
|
||||
$binding = "'{$binding}'";
|
||||
|
||||
$sql = preg_replace('/\?/', $binding, $sql, 1);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue