Skip to:
Content

BuddyPress.org

Ticket #7469: 7469.patch

File 7469.patch, 443 bytes (added by raftaar1191, 9 years ago)

Patch for ticket number 7469

  • bp-core-functions.php

     
    770770                return;
    771771        }
    772772
    773         $page_ids       = bp_core_get_directory_page_ids( 'all' );
     773        $page_ids       = (array) bp_core_get_directory_page_ids( 'all' );
    774774        $component_name = array_search( $post_id, $page_ids );
    775775
    776776        if ( ! empty( $component_name ) ) {