Skip to content

Commit

Permalink
Merge branch 'master' of github.com:doctrine/mongodb
Browse files Browse the repository at this point in the history
  • Loading branch information
jwage committed Feb 5, 2012
2 parents e18d27f + 306030d commit 75fee4f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Doctrine/MongoDB/Collection.php
Expand Up @@ -423,7 +423,7 @@ protected function doMapReduce($map, $reduce, array $out, array $query, array $o
return new ArrayIterator($result['results']);
}

return $database->selectCollection($result['result'])->find();
return $this->database->selectCollection($result['result'])->find();
}

/** @proxy */
Expand Down Expand Up @@ -661,4 +661,4 @@ protected function retry(\Closure $retry)
return $retry();
}
}
}
}

0 comments on commit 75fee4f

Please sign in to comment.