Skip to:
Content

BuddyPress.org

Ticket #7141: 7141.01.patch

File 7141.01.patch, 864 bytes (added by r-a-y, 5 years ago)
  • src/bp-notifications/bp-notifications-functions.php

     
    254254
    255255                                // Return an array of content strings.
    256256                                } else {
    257                                         $content      = call_user_func( $bp->{$component_name}->notification_callback, $component_action_name, $component_action_items[0]->item_id, $component_action_items[0]->secondary_item_id, $action_item_count, $component_action_items[0]->id );
     257                                        $content      = call_user_func( $bp->{$component_name}->notification_callback, $component_action_name, $component_action_items[0]->item_id, $component_action_items[0]->secondary_item_id, $action_item_count, 'string', $component_action_items[0]->id );
    258258                                        $renderable[] = $content;
    259259                                }
    260260