Changeset 138


Ignore:
Timestamp:
10/07/11 16:00:35 (13 years ago)
Author:
Kris Deugau
Message:

/trunk

Nitpick bugfix for "offset == 'all'" to drop another error from the error log

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dns.cgi

    r137 r138  
    15351535  # on a page showing nothing.
    15361536  # For bonus points, this reverts to the original offset on clicking the "All" link (mostly)
    1537   $offset-- while ($offset * $perpage) >= $pgcount;
     1537  if ($offset ne 'all') { 
     1538    $offset-- while ($offset * $perpage) >= $pgcount;
     1539  }
    15381540
    15391541  $page->param(ntot => $pgcount);
Note: See TracChangeset for help on using the changeset viewer.