Skip to content

Commit 926f740

Browse files
committed
Forgot to update the compileWhereNotIn also
1 parent 4308f6c commit 926f740

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Jenssegers/Mongodb/Query/Builder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -894,7 +894,7 @@ protected function compileWhereNotIn($where)
894894
{
895895
extract($where);
896896

897-
return array($column => array('$nin' => $values));
897+
return array($column => array('$nin' => array_values($values)));
898898
}
899899

900900
protected function compileWhereNull($where)

0 commit comments

Comments
 (0)