Commit 7ddd1c13 authored by Hannes Magnusson's avatar Hannes Magnusson

Do not merge options, mongod doesn't like empty ones

This likely needs to be done for them all?
parent 7b1696bb
...@@ -534,7 +534,6 @@ class Collection { ...@@ -534,7 +534,6 @@ class Collection {
* @return integer * @return integer
*/ */
function count(array $filter = array(), array $options = array()) { function count(array $filter = array(), array $options = array()) {
$options = array_merge($this->getCountOptions(), $options);
$cmd = array( $cmd = array(
"count" => $this->collname, "count" => $this->collname,
"query" => $filter, "query" => $filter,
......
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