Changeset 1072

Show
Ignore:
Timestamp:
05/10/08 21:50:00 (7 months ago)
Author:
_ck_
Message:

0.0.2 bug fix for incorrect user name in history

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • bb-reputation/trunk/bb-reputation.php

    r1071 r1072  
    66Author: _ck_ 
    77Author URI: http://bbShowcase.org 
    8 Version: 0.0.1 
     8Version: 0.0.2 
    99 
    1010license: CC-GNU-GPL http://creativecommons.org/licenses/GPL/2.0/ 
     
    248248        $y=$offset*5;                           // 5 items per row 
    249249        printf(__('%s ago'),bb_since($matches[$y]));  
    250         echo ', <a href="' . get_user_profile_link($matches[$y+1]) . '">' . get_post_author($matches[$y+1]) . '</a> '; 
     250        echo ', <a href="' . get_user_profile_link($matches[$y+1]) . '">' . get_user_name( $matches[$y+1] ) . '</a> '; 
    251251        if (intval($matches[$y+2])>0) { 
    252252        $bb_post = bb_get_post( $matches[$y+2] );