Fixes #4043 added parameter to elgg_get_entities_from_relationship()
changed parameter name for joining to entities table
Merge pull request #5458 from cash/4043

Fixes #4043 added parameter to elgg_get_entities_from_relationship()