Skip to:
Content

BuddyPress.org

Opened 3 years ago

Closed 2 years ago

#8682 closed defect (bug) (fixed)

Prevent a notice warning in `bp_nouveau_ajax_get_thread_messages()`

Reported by: imath's profile imath Owned by: imath's profile imath
Milestone: 11.0.0 Priority: normal
Severity: normal Version:
Component: Templates Keywords: has-patch
Cc:

Description

Make sure to initialize $thread->thread as an empty array.

Attachments (1)

8682.patch (543 bytes) - added by imath 3 years ago.

Download all attachments as: .zip

Change History (3)

@imath
3 years ago

#1 @espellcaste
3 years ago

Sounds good!

#2 @imath
2 years ago

  • Owner set to imath
  • Resolution set to fixed
  • Status changed from new to closed

In 13288:

BP Nouveau: prevent a notice warning when fetching a messages thread

In bp_nouveau_ajax_get_thread_messages(), we need to initialize the
thread property of the $thread object with an empty array.

Props espellcaste

Fixes #8682

Note: See TracTickets for help on using tickets.