From: Brett Profitt Date: Sun, 21 Aug 2011 17:50:26 +0000 (-0700) Subject: Fixes #3701. Removed early call to elgg_echo() for group action button menu. X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=498fd1b54c7b8dbe02f87192c3c13baa2783b3bb;p=lorea%2Felgg.git Fixes #3701. Removed early call to elgg_echo() for group action button menu. --- diff --git a/mod/groups/lib/groups.php b/mod/groups/lib/groups.php index 126738566..12a22deb4 100644 --- a/mod/groups/lib/groups.php +++ b/mod/groups/lib/groups.php @@ -424,9 +424,9 @@ function groups_register_profile_buttons($group) { if ($group->canEdit()) { // edit and invite $url = elgg_get_site_url() . "groups/edit/{$group->getGUID()}"; - $actions[$url] = elgg_echo('groups:edit'); + $actions[$url] = 'groups:edit'; $url = elgg_get_site_url() . "groups/invite/{$group->getGUID()}"; - $actions[$url] = elgg_echo('groups:invite'); + $actions[$url] = 'groups:invite'; } // group members