Skip to content

Commit

Permalink
Merge branch 'hotfix/4'
Browse files Browse the repository at this point in the history
Close #4
  • Loading branch information
weierophinney committed Mar 12, 2013
2 parents f2e402e + eb90208 commit 5e8689f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PhlyMongo/HydratingMongoCursor.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public function current()
return $result;
}

return $this->hydrator->hydrate($result, $this->prototype);
return $this->hydrator->hydrate($result, clone $this->prototype);
}

public function key()
Expand Down

0 comments on commit 5e8689f

Please sign in to comment.