Show
Ignore:
Timestamp:
04/02/08 01:56:18 (20 months ago)
Author:
bchoate
Message:

Fixed assignment of entry class for publishing pages.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/release-33/lib/MT/CMS/Blog.pm

    r1664 r1704  
    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(