aboutsummaryrefslogtreecommitdiff
path: root/mod/groups/actions/featured.php
diff options
context:
space:
mode:
authordave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-06-07 13:17:28 +0000
committerdave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-06-07 13:17:28 +0000
commit7d32ef15fcb53dab6f797b213362c1a7f2d05c25 (patch)
tree81a3cd30123c14c59d3924194652f6bb549920ca /mod/groups/actions/featured.php
parent7d79bd5bb5097e5457ad40a65de953f8b1a82234 (diff)
downloadelgg-7d32ef15fcb53dab6f797b213362c1a7f2d05c25.tar.gz
elgg-7d32ef15fcb53dab6f797b213362c1a7f2d05c25.tar.bz2
featuring and unfeaturing groups now works
git-svn-id: http://code.elgg.org/elgg/trunk@6377 36083f99-b078-4883-b0ff-0f9b5a30f544
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