Skip to content

Commit

Permalink
Slight fix for previous
Browse files Browse the repository at this point in the history
  • Loading branch information
Sammaye committed May 22, 2013
1 parent c90acd5 commit 8f13c5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion EMongoCursor.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ public function cursor(){
* Get next doc in cursor
*/
public function getNext(){
if($c=$this->cursor->getNext())
if($c=$this->cursor()->getNext())
return $this->current=$this->model->populateRecord($c,true,$this->partial);
}

Expand Down

0 comments on commit 8f13c5d

Please sign in to comment.