Fixed bug where the profiler did not correctly put quotes around bindings
This commit is contained in:
@@ -54,6 +54,8 @@ class Profiler {
|
|||||||
{
|
{
|
||||||
foreach ($bindings as $binding)
|
foreach ($bindings as $binding)
|
||||||
{
|
{
|
||||||
|
$binding = "'{$binding}'";
|
||||||
|
|
||||||
$sql = preg_replace('/\?/', $binding, $sql, 1);
|
$sql = preg_replace('/\?/', $binding, $sql, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user