Small patch.

-    return mongoDebugCursor($this->collection->find($query, $fields));
+    return new mongoDebugCursor($this->collection->find($query, $fields));
CommentFileSizeAuthor
mongoDebugCursor_error.patch420 bytesericduran

Comments

langworthy’s picture

Status: Active » Reviewed & tested by the community

This is a trivial patch and looks good to me.

Status: Reviewed & tested by the community » Needs work

The last submitted patch, mongoDebugCursor_error.patch, failed testing.

misc’s picture

Status: Needs work » Closed (fixed)

Committed to 7.x-1.x.

fgm’s picture

Status: Closed (fixed) » Fixed

Please do not set issues to Closed (fixed) manually: people not actively following them will not see them. A better practice is to set them to Fixed, after which the d.o. comment closer will switch them to Closed (fixed) two weeks later.

misc’s picture

@fgm: Ok, will do so.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.