Elgg/Elgg — pull request #120 by hypeJunction (2011-12-22 12:03:28+00:00)
Title: Fixes 4219: reducing risk of infinite loop in can_edit_entity()

No need to perform all checks if one of the previous conditions is true