ckan/ckan — pull request #1891 by mbellotti (2014-08-20 00:03:00+00:00)
Title: Update related.py

This line needs to be in the if conditional above it. If it isn't and a sysadmin edits the related item, it resets the owner_id so that the user who originally posted the item can no longer control their own content.