Changeset 3531 for trunk/lib/MT/WeblogPublisher.pm
- Timestamp:
- 03/12/09 09:11:52 (9 months ago)
- Files:
-
- 1 modified
-
trunk/lib/MT/WeblogPublisher.pm (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/MT/WeblogPublisher.pm
r3082 r3531 1 # Movable Type (r) Open Source (C) 2001-200 8Six Apart, Ltd.1 # Movable Type (r) Open Source (C) 2001-2009 Six Apart, Ltd. 2 2 # This program is distributed under the terms of the 3 3 # GNU General Public License, version 2. … … 505 505 Blog => $blog->id, 506 506 ( 507 $archiver->author_based() 508 ? ( author_id => $entry->author ->id )507 $archiver->author_based() && $entry->author_id 508 ? ( author_id => $entry->author_id ) 509 509 : () 510 510 ), … … 520 520 else { 521 521 if ( $app->config('RebuildAtDelete') ) { 522 if ( $archiver->author_based() ) {522 if ( $archiver->author_based() && $entry->author_id ) { 523 523 if ( $archiver->date_based() ) { 524 524 $rebuild_recipe{$at}{ $entry->author->id } … … 1100 1100 1101 1101 $ctx->{__stash}{blog} = $blog; 1102 $ctx->{__stash}{local_blog_id} = $blog->id; 1102 1103 1103 1104 require MT::FileInfo;
