Skip to content

Commit 7ddd1c1

Browse files
committed
Do not merge options, mongod doesn't like empty ones
This likely needs to be done for them all?
1 parent 7b1696b commit 7ddd1c1

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/Collection.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -534,7 +534,6 @@ function updateMany(array $filter, $update, array $options = array()) {
534534
* @return integer
535535
*/
536536
function count(array $filter = array(), array $options = array()) {
537-
$options = array_merge($this->getCountOptions(), $options);
538537
$cmd = array(
539538
"count" => $this->collname,
540539
"query" => $filter,

0 commit comments

Comments
 (0)