Changeset 2656

Show
Ignore:
Timestamp:
06/30/08 05:18:28 (17 months ago)
Author:
takayama
Message:

Fixed BugId:80352
* Returns result of MTCommentAuthor when commenter name is blank.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/release-41/lib/MT/Template/ContextHandlers.pm

    r2654 r2656  
    1110511105    my ($ctx) = @_; 
    1110611106    my $a = $ctx->stash('commenter'); 
    11107     return $a ? $a->nickname || '' : ''; 
     11107    my $name = $a ? $a->nickname || '' : ''; 
     11108    $name = _hdlr_comment_author($ctx) unless $name; 
     11109    return $name; 
    1110811110} 
    1110911111