aboutsummaryrefslogtreecommitdiff
path: root/mod/groups/lib
diff options
context:
space:
mode:
Diffstat (limited to 'mod/groups/lib')
-rw-r--r--mod/groups/lib/groups.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/mod/groups/lib/groups.php b/mod/groups/lib/groups.php
index a6f262c09..be9bbfe19 100644
--- a/mod/groups/lib/groups.php
+++ b/mod/groups/lib/groups.php
@@ -302,7 +302,12 @@ function groups_handle_invite_page($guid) {
$title = elgg_echo('groups:invite');
if ($group && $group->canEdit()) {
- $content = elgg_view_form('groups/invite', array('id' => 'invite_to_group', 'class' => 'mtm', array('entity' => $group)));
+ $content = elgg_view_form('groups/invite', array(
+ 'id' => 'invite_to_group',
+ 'class' => 'mtm',
+ ), array(
+ 'entity' => $group,
+ ));
} else {
$content .= elgg_echo('groups:noaccess');
}