Changeset 1701

Show
Ignore:
Timestamp:
04/02/08 01:52:43 (8 months ago)
Author:
bchoate
Message:

Fixed assignment of entry class for publishing pages.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/release-32/lib/MT/CMS/Blog.pm

    r1664 r1701  
    631631        my $count = 0; 
    632632        my $cb    = sub { 
    633             return 0 if time - $start > 20;    # 10 seconds 
    634633            $count++; 
    635             return 1; 
     634            return time - $start > 20 ? 0 : 1; 
    636635        }; 
    637636        if ( $offset < $total ) { 
     
    672671                my $count = 0; 
    673672                my $cb    = sub { 
    674                     return 0 if time - $start > 20;    # 10 seconds 
    675673                    $count++; 
    676                     return 1; 
     674                    return time - $start > 20 ? 0 : 1; 
    677675                }; 
    678676                $app->rebuild( 
  • branches/release-32/lib/MT/WeblogPublisher.pm

    r1618 r1701  
    139139        @at = ($set_at); 
    140140        my $archiver = $mt->archiver($set_at); 
    141         $entry_class = $archiver->{entry_class} || "entry"; 
     141        $entry_class = $archiver->entry_class || "entry"; 
    142142    } 
    143143    else {