Skip to:
Content

BuddyPress.org

Changeset 4031


Ignore:
Timestamp:
02/09/2011 11:29:36 PM (14 years ago)
Author:
djpaul
Message:

Prevent PHP notice on admin component page. Fixes 3062, props johnpbloch

File:
1 edited

Legend:

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

    r4023 r4031  
    334334
    335335    // On new install, set all components to be active by default
    336     if ( 'install' == $bp_wizard->setup_type && empty( $active_components ) )
     336    if ( !empty( $bp_wizard ) && 'install' == $bp_wizard->setup_type && empty( $active_components ) )
    337337        $active_components = $optional_components;
    338338
Note: See TracChangeset for help on using the changeset viewer.