Skip to:
Content

BuddyPress.org

Ticket #3062: 3062.patch

File 3062.patch, 538 bytes (added by johnpbloch, 14 years ago)

Check if the property we're using is set before we use it.

  • bp-core/admin/bp-core-admin.php

     
    333333        }
    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 ( isset($bp_wizard->setup_type) && 'install' == $bp_wizard->setup_type && empty( $active_components ) )
    337337                $active_components = $optional_components;
    338338
    339339        ?>