Ignore:
Timestamp:
Jul 24, 2007, 9:20:11 PM (13 years ago)
Author:
Nick Burch
Message:

Handle negative northings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/npemap.org.uk/cgi/get-postcodes.fcgi

    r564 r565  
    7474    foreach (qw(minnorthing maxnorthing)) {
    7575        if (($cgi->param($_) > $grid_max{'northing'}->{$grid}) or
    76             ($cgi->param($_) < 87000)) {
     76            ($cgi->param($_) < -87000)) {
    7777            print_err("Parameter '$_' must be an integer between -87,000 and ".($grid_max{'northing'}->{$grid}/1000).",000");
    7878            next REQUEST;
Note: See TracChangeset for help on using the changeset viewer.