Skip to:
Content

BuddyPress.org

Changeset 5189


Ignore:
Timestamp:
09/25/2011 11:27:34 AM (13 years ago)
Author:
boonebgorges
Message:

Don't do an is_null() check on search_terms in bp_has_groups; use empty() instead (default is empty string). Fixes #3619.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-groups/bp-groups-template.php

    r5180 r5189  
    274274    extract( $r );
    275275
    276     if ( is_null( $search_terms ) ) {
     276    if ( empty( $search_terms ) ) {
    277277        if ( isset( $_REQUEST['group-filter-box'] ) && !empty( $_REQUEST['group-filter-box'] ) )
    278278            $search_terms = $_REQUEST['group-filter-box'];
Note: See TracChangeset for help on using the changeset viewer.