From 60a301bb4dc5503ddcb67b8cf201554a0c459685 Mon Sep 17 00:00:00 2001 From: marcus Date: Fri, 11 Jul 2008 10:28:28 +0000 Subject: Using register_error on errors rather than system_message git-svn-id: https://code.elgg.org/elgg/trunk@1398 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/groups/actions/join.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mod/groups/actions/join.php') 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; -- cgit v1.2.3