Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
03/25/2010 11:20:05 AM (15 years ago)
Author:
apeatling
Message:

Fixes bug where home tab would not highlight when activity is on the front page.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.2/bp-core.php

    r2856 r2868  
    15621562            unset( $site_path[2] );
    15631563
    1564             $site_path = '/' . implode( '/', $site_path ) . '/';
     1564            if ( !count( $site_path ) )
     1565                $site_path = '/';
     1566            else
     1567                $site_path = '/' . implode( '/', $site_path ) . '/';
    15651568        }
    15661569    }
     
    15681571    return apply_filters( 'bp_core_get_site_path', $site_path );
    15691572}
    1570 
    15711573/**
    15721574 * bp_core_get_site_options()
Note: See TracChangeset for help on using the changeset viewer.