diff options
Diffstat (limited to 'mod')
-rw-r--r-- | mod/groups/actions/featured.php | 2 | ||||
-rw-r--r-- | mod/groups/views/default/groups/grouplisting.php | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/mod/groups/actions/featured.php b/mod/groups/actions/featured.php index c6fc9f397..7bc7acdd6 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('type'); + $action = get_input('action_type'); $group = get_entity($group_guid); 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 |