Changeset 2675

Show
Ignore:
Timestamp:
07/02/08 02:54:27 (20 months ago)
Author:
auno
Message:

Fixed to get off the IE cache problem for userpic. BugzID:80354

Files:
1 modified

Legend:

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

    r2426 r2675  
    746746    my ($thumb_url, $w, $h) = $author->userpic_url(@_) or return; 
    747747    return unless $thumb_url; 
    748     sprintf q{<img src="%s" width="%d" height="%d" alt="" />}, 
    749         MT::Util::encode_html($thumb_url), $w, $h; 
     748    sprintf q{<img src="%s?%d" width="%d" height="%d" alt="" />}, 
     749      MT::Util::encode_html($thumb_url), $author->userpic->id, $w, $h; 
    750750} 
    751751