Commit 19fb328d authored by Damian Gręda's avatar Damian Gręda

MongoCursorException: Invalid modifier specified: ; Fixes: #87

parent 92c7876f
......@@ -398,7 +398,7 @@ class Builder extends \Illuminate\Database\Query\Builder {
);
if(!empty($extra))
{
$query[] = array('$set' => $extra);
$query['$set'] = $extra;
}
// Protect
$this->whereNotNull($column);
......
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