diff options
Diffstat (limited to 'mod/groups')
-rw-r--r-- | mod/groups/actions/delete.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mod/groups/actions/delete.php b/mod/groups/actions/delete.php index f75faee76..e68b0d860 100644 --- a/mod/groups/actions/delete.php +++ b/mod/groups/actions/delete.php @@ -14,5 +14,6 @@ else
register_error(elgg_echo('group:notdeleted'));
- forward($_SERVER['HTTP_REFERER']);
+ $url_name = $_SESSION['user']->username;
+ forward("{$vars['url']}pg/groups/member/{$url_name}");
?>
\ No newline at end of file |