aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/group.php
diff options
context:
space:
mode:
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;
}