Commit 70cba4eb authored by Taylor Otwell's avatar Taylor Otwell

removed null handling code in db::query until further confirmation of bug is received.

parent 40b83651
...@@ -56,14 +56,7 @@ class DB { ...@@ -56,14 +56,7 @@ class DB {
foreach ($bindings as $key => &$binding) foreach ($bindings as $key => &$binding)
{ {
if (is_null($binding)) $query->bindParam($key + 1, $binding);
{
$query->bindValue($key + 1, null, \PDO::PARAM_INT);
}
else
{
$query->bindParam($key + 1, $binding);
}
} }
$result = $query->execute(); $result = $query->execute();
......
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