Please sign in to comment.
fix(entities): update attribute when assuming container_guid value
ElggEntity::create() assumes that container_guid equals to owner_guid when container_guid is set to 0, but does so in introduced variables without propagating the changes in attributes array. This results in discrepancies between ElggEntity::getContainerGUID() and the value written to the database Fixes #8981
- Loading branch information...
Showing with 20 additions and 0 deletions.