Unverified Commit a197f0fc authored by Sebastian Castro's avatar Sebastian Castro
Browse files

Fixs removing contribution when association is broken

parent 8ce77b3d
parameters:
app.version: 2.5.4
\ No newline at end of file
app.version: 2.5.5
\ No newline at end of file
......@@ -980,7 +980,6 @@ class Element
*/
public function removeContribution(\Biopen\GeoDirectoryBundle\Document\UserInteractionContribution $contribution)
{
$contribution->removeElement($this);
$this->contributions->removeElement($contribution);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment