Show
Ignore:
Timestamp:
03/12/09 09:11:52 (9 months ago)
Author:
fumiakiy
Message:

Merged sockfish to trunk. "svn merge -r3114:3527 http://code.sixapart.com/svn/movabletype/branches/sockfish/ ."

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/lib/MT/WeblogPublisher.pm

    r3082 r3531  
    1 # Movable Type (r) Open Source (C) 2001-2008 Six Apart, Ltd. 
     1# Movable Type (r) Open Source (C) 2001-2009 Six Apart, Ltd. 
    22# This program is distributed under the terms of the 
    33# GNU General Public License, version 2. 
     
    505505                    Blog        => $blog->id, 
    506506                    ( 
    507                         $archiver->author_based() 
    508                         ? ( author_id => $entry->author->id ) 
     507                        $archiver->author_based() && $entry->author_id 
     508                        ? ( author_id => $entry->author_id ) 
    509509                        : () 
    510510                    ), 
     
    520520            else { 
    521521                if ( $app->config('RebuildAtDelete') ) { 
    522                     if ( $archiver->author_based() ) { 
     522                    if ( $archiver->author_based() && $entry->author_id ) { 
    523523                        if ( $archiver->date_based() ) { 
    524524                            $rebuild_recipe{$at}{ $entry->author->id } 
     
    11001100 
    11011101    $ctx->{__stash}{blog} = $blog; 
     1102    $ctx->{__stash}{local_blog_id} = $blog->id; 
    11021103 
    11031104    require MT::FileInfo;