Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
08/28/2009 07:05:23 PM (17 years ago)
Author:
apeatling
Message:

Fixing bug with inconsistent name display.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-wire/bp-wire-templatetags.php

    r1718 r1723  
    2020    function bp_wire_posts_template( $item_id, $component_slug, $can_post, $per_page, $max ) {
    2121        global $bp;
    22        
     22
    2323        if ( $bp->current_component == $bp->wire->slug ) {
    2424            $this->table_name = $bp->profile->table_name_wire;
     
    2828                bp_core_delete_notifications_for_user_by_type( $bp->loggedin_user->id, 'xprofile', 'new_wire_post' );
    2929           
    30         } else {
     30        } else
    3131            $this->table_name = $bp->{$bp->active_components[$component_slug]}->table_name_wire;
    32         }
    3332       
    3433        $this->pag_page = isset( $_REQUEST['wpage'] ) ? intval( $_REQUEST['wpage'] ) : 1;
Note: See TracChangeset for help on using the changeset viewer.