Skip to:
Content

BuddyPress.org

Changeset 4927


Ignore:
Timestamp:
08/05/2011 06:56:13 PM (10 years ago)
Author:
boonebgorges
Message:

Don't throw PHP notice when bp-pages meta value is deleted manually from database. Fixes #3440. Props enderandrew

File:
1 edited

Legend:

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

    r4920 r4927  
    9393    }
    9494
    95     foreach( $page_ids as $component_name => $page_id ) {
     95    foreach( (array)$page_ids as $component_name => $page_id ) {
    9696        if ( empty( $component_name ) || empty( $page_id ) ) {
    9797            unset( $page_ids[$component_name] );
Note: See TracChangeset for help on using the changeset viewer.