aboutsummaryrefslogtreecommitdiff
path: root/mod/groups/actions/joinrequest.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/groups/actions/joinrequest.php')
-rw-r--r--mod/groups/actions/joinrequest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/groups/actions/joinrequest.php b/mod/groups/actions/joinrequest.php
index 895038f9e..3539221fe 100644
--- a/mod/groups/actions/joinrequest.php
+++ b/mod/groups/actions/joinrequest.php
@@ -75,13 +75,13 @@
NULL, "email"))
system_message(elgg_echo("groups:joinrequestmade"));
else
- system_message(elgg_echo("groups:joinrequestnotmade"));
+ register_error(elgg_echo("groups:joinrequestnotmade"));
}
}
else
- system_message(elgg_echo('groups:alreadymember'));
+ register_error(elgg_echo('groups:alreadymember'));
forward($_SERVER['HTTP_REFERER']);
exit;