Skip to:
Content

BuddyPress.org

Ticket #2247: 2247.003.diff

File 2247.003.diff, 393 bytes (added by cnorris23, 12 years ago)

updated for trunk

  • bp-core/bp-core-catchuri.php

     
    120120        }
    121121
    122122        /* This is not a BuddyPress page, so just return. */
    123         if ( in_array( 0, (array) $matches ) )
     123        if ( empty( $matches ) )
    124124                return false;
    125125
    126126        /* Find the offset */