aboutsummaryrefslogtreecommitdiff
path: root/mod/groups/views/default
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/views/default
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/views/default')
-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 2b6887736..83350889c 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 . "&action=unfeature");
+ $url = elgg_add_action_tokens_to_url($vars['url'] . "action/groups/featured?group_guid=" . $vars['entity']->guid . "&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 . "&action=feature");
+ $url = elgg_add_action_tokens_to_url($vars['url'] . "action/groups/featured?group_guid=" . $vars['entity']->guid . "&type=feature");
$wording = elgg_echo("groups:makefeatured");
}
// display 'make featured' option