Changeset 2690
- Timestamp:
- 07/03/08 01:47:24 (20 months ago)
- Files:
-
- 1 modified
-
branches/release-41/lib/MT/Author.pm (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/release-41/lib/MT/Author.pm
r2675 r2690 669 669 sub userpic { 670 670 my $author = shift; 671 my (%param) = @_; 672 673 my $asset = $param{Asset}; 674 return $asset if $asset; 671 675 672 676 my $asset_id = $author->userpic_asset_id or return; … … 747 751 return unless $thumb_url; 748 752 sprintf q{<img src="%s?%d" width="%d" height="%d" alt="" />}, 749 MT::Util::encode_html($thumb_url), $author->userpic ->id, $w, $h;753 MT::Util::encode_html($thumb_url), $author->userpic(@_)->id, $w, $h; 750 754 } 751 755
