Changeset 2454 for branches/release-39/lib/MT/CMS/Tag.pm
- Timestamp:
- 05/28/08 10:32:31 (18 months ago)
- Files:
-
- 1 modified
-
branches/release-39/lib/MT/CMS/Tag.pm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/release-39/lib/MT/CMS/Tag.pm
r1873 r2454 387 387 $arg{'sort'} = 'name'; 388 388 $arg{limit} = $limit + 1; 389 if ( $total && $offset > $total - 1 ) { 389 if ( $total <= $limit ) { 390 delete $arg{limit}; 391 $offset = 0; 392 } 393 elsif ( $total && $offset > $total - 1 ) { 390 394 $arg{offset} = $offset = $total - $limit; 391 395 }
