Changeset 8 for trunk/dns.cgi


Ignore:
Timestamp:
09/08/09 17:48:59 (15 years ago)
Author:
Kris Deugau
Message:

/trunk

Found likely solution to off-by-one-on-integer-multiples last-offset calculation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dns.cgi

    r7 r8  
    463463        $page->param(nextoffs => $offset+1);
    464464        $page->param(navlast => 1);
    465         $page->param(lastoffs => int $count/$perpage -1);
     465        $page->param(lastoffs => int (($count-1)/$perpage));
    466466      }
    467467    }
Note: See TracChangeset for help on using the changeset viewer.