diff options
author | Cash Costello <cash.costello@gmail.com> | 2011-10-06 16:58:22 -0700 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2011-10-06 16:58:22 -0700 |
commit | 26b56fb5d6d71bb56f03d0d4e999e09a1fc81476 (patch) | |
tree | 667e08543ddbfed585a1d99c8b115c0cd5c7557c /engine/lib/group.php | |
parent | 4706f47ca0b19d9baa45742ae7c8d270c42e9490 (diff) | |
parent | 57c409526195ebbd46b239f4af06ef199d001df9 (diff) | |
download | elgg-26b56fb5d6d71bb56f03d0d4e999e09a1fc81476.tar.gz elgg-26b56fb5d6d71bb56f03d0d4e999e09a1fc81476.tar.bz2 |
Merge pull request #69 from mrclay/issue3765
Fixes #3765 forward throws Exception if headers sent.
Diffstat (limited to 'engine/lib/group.php')
-rw-r--r-- | engine/lib/group.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/engine/lib/group.php b/engine/lib/group.php index e7b70fd10..7fa188cd6 100644 --- a/engine/lib/group.php +++ b/engine/lib/group.php @@ -276,9 +276,7 @@ function group_gatekeeper($forward = true) { if ($forward && $allowed == false) { register_error(elgg_echo('membershiprequired')); - if (!forward($url, 'member')) { - throw new SecurityException(elgg_echo('SecurityException:UnexpectedOutputInGatekeeper')); - } + forward($url, 'member'); } return $allowed; |