diff options
Diffstat (limited to 'mod/groups/actions/leave.php')
-rw-r--r-- | mod/groups/actions/leave.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/groups/actions/leave.php b/mod/groups/actions/leave.php index 220a106cf..5ed2bf648 100644 --- a/mod/groups/actions/leave.php +++ b/mod/groups/actions/leave.php @@ -36,6 +36,6 @@ else register_error(elgg_echo("groups:cantleave")); - forward($_SERVER['HTTP_REFERER']); + forward(REFERER); exit; ?>
\ No newline at end of file |