Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
03/12/2010 11:43:21 AM (14 years ago)
Author:
apeatling
Message:

Fixes #2170

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.2/bp-forums/bp-forums-templatetags.php

    r2758 r2837  
    290290        global $forum_template;
    291291
    292         if ( !$name = bp_core_get_userlink( $forum_template->topic->poster_id ) )
     292        $poster_id = ( empty( $forum_template->topic->poster_id ) ) ? $forum_template->topic->topic_poster : $forum_template->topic->poster_id;
     293
     294        if ( !$name = bp_core_get_userlink( $poster_id ) )
    293295            return __( 'Deleted User', 'buddypress' );
    294296
Note: See TracChangeset for help on using the changeset viewer.