From 324896b9efc10eb78477ff3a892b1cab504eea2b Mon Sep 17 00:00:00 2001 From: cash Date: Sat, 26 Feb 2011 20:34:34 +0000 Subject: fixed group invite form git-svn-id: http://code.elgg.org/elgg/trunk@8493 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/groups/lib/groups.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'mod/groups/lib/groups.php') 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'); } -- cgit v1.2.3