Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Saving nulls #49

Open
Gary131 opened this Issue · 0 comments

1 participant

@Gary131

Maybe i'm wrong but extensions saves null to database. Simple fix to this is:
(in EMongoEmbeddedDocument.php line 304)

if($property->isPublic() && !$property->isStatic())

change to

if($property->isPublic() && !$property->isStatic() && ($this->$name!=null || $name=='_id'))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.