Skip to:
Content

BuddyPress.org

Ticket #8682: 8682.patch

File 8682.patch, 543 bytes (added by imath, 4 years ago)
  • src/bp-templates/bp-nouveau/includes/messages/ajax.php

    diff --git src/bp-templates/bp-nouveau/includes/messages/ajax.php src/bp-templates/bp-nouveau/includes/messages/ajax.php
    index acaf48e85..39f2387d4 100644
    function bp_nouveau_ajax_get_thread_messages() { 
    496496                wp_send_json_error( $response );
    497497        }
    498498
    499         $thread = new stdClass;
     499        $thread         = new stdClass;
     500        $thread->thread = array();
    500501
    501502        if ( empty( $_POST['js_thread'] ) ) {
    502503                $thread->thread = array(