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

This commit is contained in:
Taylor Otwell
2011-07-16 08:19:36 -05:00
parent 40b836511f
commit 70cba4ebe2

View File

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