doctrine/mongodb — pull request #61 by pgodel (2012-07-10 19:29:05+00:00)
Title: Add check in doUpdate() to make sure the document containing the file is returned

Added check in doUpdate() to make sure the document containing the file is returned when updating an existing document with a new file.

I had this rare issue when connecting to a replicaSet. Issue appears to be fixed in PHP mongo driver already but a check here would not hurt.