Skip to content

Commit 5a3e0de

Browse files
committed
Fetch the correct option set
1 parent dcf4714 commit 5a3e0de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Collection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ function updateMany(array $filter, $update, array $options = array()) { /* {{{ *
319319
/* }}} */
320320

321321
function count(array $filter = array(), array $options = array()) { /* {{{ */
322-
$options = array_merge($this->getFindOptions(), $options);
322+
$options = array_merge($this->getCountOptions(), $options);
323323
$cmd = array(
324324
"count" => $this->collname,
325325
"query" => $filter,

0 commit comments

Comments
 (0)