Skip to:
Content

BuddyPress.org

Ticket #1728: 1728.001.diff

File 1728.001.diff, 530 bytes (added by cnorris23, 14 years ago)

Make sure VHOST is defined

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

     
    180180        $action_variables = $bp_uri;
    181181
    182182        /* Remove the username from action variables if this is not a VHOST install */
    183         if ( 'no' == VHOST && !$is_root_component )
     183        if ( defined( 'VHOST' ) && 'no' == VHOST && !$is_root_component )
    184184                array_shift($bp_uri);
    185185
    186186        /* Reset the keys by merging with an empty array */