aboutsummaryrefslogtreecommitdiff
path: root/mod/groups/actions/featured.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/groups/actions/featured.php')
-rw-r--r--mod/groups/actions/featured.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/mod/groups/actions/featured.php b/mod/groups/actions/featured.php
index 2d16113df..c6fc9f397 100644
--- a/mod/groups/actions/featured.php
+++ b/mod/groups/actions/featured.php
@@ -16,7 +16,7 @@
admin_gatekeeper();
$group_guid = get_input('group_guid');
- $action = get_input('action');
+ $action = get_input('type');
$group = get_entity($group_guid);
@@ -39,6 +39,4 @@
}
- forward("pg/groups/world/");
-
-?> \ No newline at end of file
+ forward($_SERVER['HTTP_REFERER']); \ No newline at end of file