aboutsummaryrefslogtreecommitdiff
path: root/mod/groups/views
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-06-18 20:19:12 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-06-18 20:19:12 +0000
commitb62d40b4d21a0cf06c31ca4cb47d5a2523276e2d (patch)
treebcf5e59d8d95b95f43cfe5e3c8d5691357df2531 /mod/groups/views
parentfd073ace657899c56a491f66c7f454fa3e00c3bb (diff)
downloadelgg-b62d40b4d21a0cf06c31ca4cb47d5a2523276e2d.tar.gz
elgg-b62d40b4d21a0cf06c31ca4cb47d5a2523276e2d.tar.bz2
Merged group featuring fixes to trunk [6493]
git-svn-id: http://code.elgg.org/elgg/trunk@6513 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/groups/views')
-rw-r--r--mod/groups/views/default/groups/grouplisting.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/groups/views/default/groups/grouplisting.php b/mod/groups/views/default/groups/grouplisting.php
index 83350889c..48a7b1ace 100644
--- a/mod/groups/views/default/groups/grouplisting.php
+++ b/mod/groups/views/default/groups/grouplisting.php
@@ -30,10 +30,10 @@ $info .= "<p class='entity_subtext groups'>" . $mem . " / <b>" . get_group_membe
//for admins only - display the feature or unfeature option
if(isadminloggedin()) {
if($vars['entity']->featured_group == "yes"){
- $url = elgg_add_action_tokens_to_url($vars['url'] . "action/groups/featured?group_guid=" . $vars['entity']->guid . "&type=unfeature");
+ $url = elgg_add_action_tokens_to_url($vars['url'] . "action/groups/featured?group_guid=" . $vars['entity']->guid . "&action_type=unfeature");
$wording = elgg_echo("groups:makeunfeatured");
}else{
- $url = elgg_add_action_tokens_to_url($vars['url'] . "action/groups/featured?group_guid=" . $vars['entity']->guid . "&type=feature");
+ $url = elgg_add_action_tokens_to_url($vars['url'] . "action/groups/featured?group_guid=" . $vars['entity']->guid . "&action_type=feature");
$wording = elgg_echo("groups:makefeatured");
}
// display 'make featured' option