aboutsummaryrefslogtreecommitdiff
path: root/mod/groups/actions/join.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/groups/actions/join.php')
-rw-r--r--mod/groups/actions/join.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/groups/actions/join.php b/mod/groups/actions/join.php
index 84e770065..639ed14da 100644
--- a/mod/groups/actions/join.php
+++ b/mod/groups/actions/join.php
@@ -36,7 +36,7 @@
exit;
}
else
- system_message(elgg_echo("groups:cantjoin"));
+ register_error(elgg_echo("groups:cantjoin"));
}
else
{
@@ -47,7 +47,7 @@
}
}
else
- system_message(elgg_echo("groups:cantjoin"));
+ register_error(elgg_echo("groups:cantjoin"));
forward($_SERVER['HTTP_REFERER']);
exit;