Changeset 1269
- Timestamp:
- 03/27/2009 09:58:54 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-forums/bp-forums-templatetags.php
r1262 r1269 239 239 global $forum_template; 240 240 241 $post s = bp_forums_get_posts( $forum_template->topic->topic_id );242 echo apply_filters( 'bp_the_topic_latest_post_excerpt', $post s[count($posts) - 1]['post_text']);241 $post = bp_forums_get_post( $forum_template->topic->topic_last_post_id ); 242 echo apply_filters( 'bp_the_topic_latest_post_excerpt', $post->post_text ); 243 243 } 244 244
Note: See TracChangeset
for help on using the changeset viewer.