Changeset 2251
- Timestamp:
- 05/06/08 23:42:45 (23 months ago)
- Files:
-
- 1 modified
-
branches/release-38/lib/MT/CMS/Blog.pm (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/release-38/lib/MT/CMS/Blog.pm
r2210 r2251 661 661 my $count = 0; 662 662 my $cb = sub { 663 $count++; 664 return time - $start > 20 ? 0 : 1; 663 my $result = time - $start > 20 ? 0 : 1; 664 $count++ if $result; 665 return $result; 665 666 }; 666 667 if ( $offset < $total ) { … … 701 702 my $count = 0; 702 703 my $cb = sub { 703 $count++; 704 return time - $start > 20 ? 0 : 1; 704 my $result = time - $start > 20 ? 0 : 1; 705 $count++ if $result; 706 return $result; 705 707 }; 706 708 $app->rebuild(
