Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
11/05/2010 09:37:15 PM (16 years ago)
Author:
djpaul
Message:

Fix some wp_debug warnings.

File:
1 edited

Legend:

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

    r3300 r3357  
    4343    for ( $i = 0; $i < count($notifications); $i++ ) {
    4444        $notification = $notifications[$i];
    45 
    4645        $grouped_notifications[$notification->component_name][$notification->component_action][] = $notification;
    4746    }
    4847
    49     if ( !$grouped_notifications )
     48    if ( empty( $grouped_notifications ) )
    5049        return false;
    5150
Note: See TracChangeset for help on using the changeset viewer.