Changeset 2209 for trunk/bp-messages/bp-messages-templatetags.php
- Timestamp:
- 12/27/2009 10:41:10 AM (16 years ago)
- File:
-
- 1 edited
-
trunk/bp-messages/bp-messages-templatetags.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-messages/bp-messages-templatetags.php
r2199 r2209 612 612 return apply_filters( 'bp_get_the_thread_recipients', sprintf( __( '%d Recipients', 'buddypress' ), count($thread_template->thread->recipients) ) ); 613 613 614 foreach( $thread_template->thread->recipients as $recipient )614 foreach( (array)$thread_template->thread->recipients as $recipient ) 615 615 $recipient_links[] = bp_core_get_userlink( $recipient ); 616 616 617 return apply_filters( 'bp_get_the_thread_recipients', implode( ', ', $recipient_links ) );617 return apply_filters( 'bp_get_the_thread_recipients', implode( ', ', (array)$recipient_links ) ); 618 618 } 619 619
Note: See TracChangeset
for help on using the changeset viewer.