Changeset 3357 for trunk/bp-core/bp-core-catchuri.php
- Timestamp:
- 11/05/2010 09:37:15 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/bp-core/bp-core-catchuri.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-catchuri.php
r3324 r3357 164 164 unset( $bp_uri[$i] ); 165 165 166 $current_component = $bp_uri[$uri_offset];166 $current_component = isset( $bp_uri[$uri_offset] ) ? $bp_uri[$uri_offset] : ''; 167 167 } 168 168 } … … 185 185 186 186 // Set the current action 187 $current_action = $bp_uri[$i];187 $current_action = isset( $bp_uri[$i] ) ? $bp_uri[$i] : ''; 188 188 189 189 // Unset the current_component and action from action_variables … … 195 195 196 196 // Remove the username from action variables if this is not a VHOST install 197 if ( 'no' == VHOST && !$is_root_component )197 if ( defined( 'VHOST' ) && 'no' == VHOST && !$is_root_component ) 198 198 array_shift($bp_uri); 199 199
Note: See TracChangeset
for help on using the changeset viewer.