Changeset 3219 for trunk/lib/MT/CMS/Dashboard.pm
- Timestamp:
- 12/03/08 07:58:25 (12 months ago)
- Files:
-
- 1 modified
-
trunk/lib/MT/CMS/Dashboard.pm (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/MT/CMS/Dashboard.pm
r3082 r3219 2 2 3 3 use strict; 4 use MT::Util qw( epoch2ts );4 use MT::Util qw( epoch2ts encode_html ); 5 5 6 6 sub dashboard { … … 137 137 $param->{last_post_id} = $last_post->id; 138 138 $param->{last_post_blog_id} = $last_post->blog_id; 139 $param->{last_post_blog_name} = $last_post->blog->name;139 $param->{last_post_blog_name} = encode_html($last_post->blog->name); 140 140 $param->{last_post_ts} = $last_post->authored_on; 141 141 }
