Ticket #5290: 5290.diff
File 5290.diff, 713 bytes (added by , 11 years ago) |
---|
-
bp-notifications/bp-notifications-functions.php
122 122 123 123 // Setup local variables 124 124 $bp = buddypress(); 125 $active_components = array_keys( $bp->active_components ); 125 126 $notifications = BP_Notifications_Notification::get( array( 126 'user_id' => $user_id, 127 'user_id' => $user_id, 128 'component_name' => $active_components, 127 129 ) ); 128 130 $grouped_notifications = array(); // Notification groups 129 131 $renderable = array(); // Renderable notifications