aboutsummaryrefslogtreecommitdiff
path: root/mod/groups/actions
diff options
context:
space:
mode:
Diffstat (limited to 'mod/groups/actions')
-rw-r--r--mod/groups/actions/groups/membership/remove.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/groups/actions/groups/membership/remove.php b/mod/groups/actions/groups/membership/remove.php
index 6f0698371..650d35286 100644
--- a/mod/groups/actions/groups/membership/remove.php
+++ b/mod/groups/actions/groups/membership/remove.php
@@ -14,10 +14,10 @@ $group = get_entity($group_guid);
elgg_set_page_owner_guid($group->guid);
if (($user instanceof ElggUser) && ($group instanceof ElggGroup) && $group->canEdit()) {
- // Don't allow removeing group owner
+ // Don't allow removing group owner
if ($group->getOwnerGUID() != $user->getGUID()) {
if ($group->leave($user)) {
- system_message(elgg_echo("groups:removed"));
+ system_message(elgg_echo("groups:removed", array($user->name)));
} else {
register_error(elgg_echo("groups:cantremove"));
}