Elgg/Elgg — pull request #5331 by Angel-Gabriel (2013-04-08 01:35:41+00:00)
Title: Update invite.php

$group = get_entity($group_guid); <-- we only need to do this once, instead of doing it inside the foreach loop.