aboutsummaryrefslogtreecommitdiff
path: root/mod/groups/actions/joinrequest.php
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-11 10:28:28 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-11 10:28:28 +0000
commit60a301bb4dc5503ddcb67b8cf201554a0c459685 (patch)
tree49440e90eeac85f921893f02517c3485f1cd2e04 /mod/groups/actions/joinrequest.php
parent310eeabd5397da75352280c7e24efd504dc11293 (diff)
downloadelgg-60a301bb4dc5503ddcb67b8cf201554a0c459685.tar.gz
elgg-60a301bb4dc5503ddcb67b8cf201554a0c459685.tar.bz2
Using register_error on errors rather than system_message
git-svn-id: https://code.elgg.org/elgg/trunk@1398 36083f99-b078-4883-b0ff-0f9b5a30f544
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;