Loading an ElggAnntation by ID breaks ->name and ->value
|Reported by:||brettp||Owned by:|
In get_annotations() ElggAnnotation() is called by passing a database result object which includes name and value because of the select. ElggAnnotation's construct loads everything from the object into the attributes array. If name and value aren't there, ->name and ->value return null, even if it's loaded a real annotation.