Skip to content

Commit

Permalink
Merge pull request doctrine#44 from AlexKovalevych/master
Browse files Browse the repository at this point in the history
Fixed typo in Collection.php
  • Loading branch information
jmikola committed Feb 4, 2012
2 parents f26eba3 + d07f0bf commit 306030d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Doctrine/MongoDB/Collection.php
Original file line number Diff line number Diff line change
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 @@ -649,4 +649,4 @@ protected function retry(\Closure $retry)
return $retry();
}
}
}
}

0 comments on commit 306030d

Please sign in to comment.