Skip to content

Commit

Permalink
fix misnamed filter method
Browse files Browse the repository at this point in the history
  • Loading branch information
christianwach committed Jun 5, 2014
1 parent 332747e commit 02f8c0b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions groups/groups.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -256,11 +256,11 @@ public static function load_template( $vars = '' ) {
}

/**
* extend_search( $groups, $params )
* extended_search( $groups, $params )
*
* Hooks into groups_get_groups filter and extends search to include Courseware used post types
*/
function extend_search( $groups, $params ) {
function extended_search( $groups, $params ) {
// Don't bother searching if nothing queried
if( empty( $params['search_terms'] ) ) {
return $groups;
Expand Down

0 comments on commit 02f8c0b

Please sign in to comment.