aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrett Profitt <brett.profitt@gmail.com>2011-08-21 10:50:26 -0700
committerBrett Profitt <brett.profitt@gmail.com>2011-08-21 10:50:26 -0700
commit498fd1b54c7b8dbe02f87192c3c13baa2783b3bb (patch)
treeb24c6bc9a79cf1bfa1a8279f9a66e5667aa9bb05
parentd16573be44658d40ebeb63ca3850b676eb9d309d (diff)
downloadelgg-498fd1b54c7b8dbe02f87192c3c13baa2783b3bb.tar.gz
elgg-498fd1b54c7b8dbe02f87192c3c13baa2783b3bb.tar.bz2
Fixes #3701. Removed early call to elgg_echo() for group action button menu.
-rw-r--r--mod/groups/lib/groups.php4
1 files changed, 2 insertions, 2 deletions
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