Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
04/09/2011 09:52:37 PM (15 years ago)
Author:
djpaul
Message:

Fix PHP notices during group creation

File:
1 edited

Legend:

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

    r4172 r4192  
    243243
    244244    // A single group
    245     } elseif ( !empty( $bp->groups->current_group ) ) {
    246         $title = $bp->bp_options_title . ' | ' . $bp->bp_options_nav[$bp->groups->current_group->slug ][$bp->current_action]['name'];
     245    } elseif ( !empty( $bp->groups->current_group ) && !empty( $bp->bp_options_nav[$bp->groups->current_group->slug] ) ) {
     246        $title = $bp->bp_options_title . ' | ' . $bp->bp_options_nav[$bp->groups->current_group->slug][$bp->current_action]['name'];
    247247
    248248    // A single item from a component other than groups
Note: See TracChangeset for help on using the changeset viewer.