Skip to content

Commit

Permalink
[#135 state:resolved] this change to MT::WeblogPublisher undoes one o…
Browse files Browse the repository at this point in the history
…f Jays changes, but keeps the spirit of what he was trying to do. It resolves the "import issue" in 135 and resolves the issue from 332 with pages not publishing at all. #332 is about 50% resolved, at least.
  • Loading branch information
MikeThomsen committed Jun 22, 2010
1 parent 79c40d6 commit 646e721
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/MT/WeblogPublisher.pm
Original file line number Diff line number Diff line change
Expand Up @@ -194,8 +194,9 @@ sub rebuild {

# Skip this archive type if the archive type doesn't
# match the kind of entry we've loaded
next unless $archiver;
next if $entry->class||'' ne $archiver->entry_class||'';
next unless ($archiver and $entry and $archiver->entry_class);
next if $entry->class ne $archiver->entry_class;

if ( $archiver->category_based ) {
my $cats = $entry->categories;
CATEGORY: for my $cat (@$cats) {
Expand Down

0 comments on commit 646e721

Please sign in to comment.