Changeset 1217
- Timestamp:
- 01/14/08 22:36:20 (10 months ago)
- Files:
-
- branches/release-27/lib/MT/WeblogPublisher.pm (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/release-27/lib/MT/WeblogPublisher.pm
r1216 r1217 1832 1832 my $cat = MT::Category->load( $fi->category_id ) 1833 1833 if $fi->category_id; 1834 my $author = MT::Author->load( $fi->author_id ) 1835 if $fi->author_id; 1834 1836 1835 1837 ## Load the template-archive-type map entries for this blog and … … 1839 1841 ## we save some time by not loading the list of entries. 1840 1842 my $map = MT::TemplateMap->load( $fi->templatemap_id ); 1841 my $file = $pub->archive_file_for( $entry, $blog, $at, $cat, $map ); 1843 my $file = $pub->archive_file_for( $entry, $blog, $at, $cat, $map, 1844 undef, $author ); 1842 1845 if ( !defined($file) ) { 1843 1846 return $pub->error( $blog->errstr() );
