Changeset 566 for trunk


Ignore:
Timestamp:
Jul 24, 2007, 9:27:15 PM (12 years ago)
Author:
Nick Burch
Message:

Handle negative northings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/npemap.org.uk/cgi/submit.fcgi

    r565 r566  
    6969        # (Channel islands stop at -87,000)
    7070    if (($cgi->param('northing') > 1300000) or
    71                 ($cgi->param($_) < -87000)) {
    72                 print_err("Parameter '$_' must be an integer between -87,000 and ".($grid_max{'northing'}->{$grid}/1000).",000");
     71                ($cgi->param('northing') < -87000)) {
     72                print_err("Parameter 'northing' must be an integer between -87,000 and 1,300,000");
    7373        next REQUEST;
    7474    } else {
Note: See TracChangeset for help on using the changeset viewer.