aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/group.php
diff options
context:
space:
mode:
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-20 09:49:45 +0000
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-20 09:49:45 +0000
commitdeb2e286301f0b0472cd9d742fd4d0777035d5d4 (patch)
treedd54129d0a41cf0b612acf369a04814e57c897f7 /engine/lib/group.php
parente61a98c5dd04391db3eb7e3a087de633e2a6b0fe (diff)
downloadelgg-deb2e286301f0b0472cd9d742fd4d0777035d5d4.tar.gz
elgg-deb2e286301f0b0472cd9d742fd4d0777035d5d4.tar.bz2
Fixes #2237: Added 'reason' parameter to forward() to allow proper headers and more flexible destinations via plugin hooks. Also made use of this in core gatekeeper functions and in pagehandler.php
git-svn-id: http://code.elgg.org/elgg/trunk@7373 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/group.php')
-rw-r--r--engine/lib/group.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/group.php b/engine/lib/group.php
index def82fa9c..dd2eff7f8 100644
--- a/engine/lib/group.php
+++ b/engine/lib/group.php
@@ -637,7 +637,7 @@ function group_gatekeeper($forward = true) {
if ($forward && $allowed == false) {
register_error(elgg_echo('membershiprequired'));
- forward($url);
+ forward($url, 'member');
exit;
}