Changeset 685 for trunk


Ignore:
Timestamp:
May 30, 2009, 10:57:18 AM (10 years ago)
Author:
sheldon
Message:

Default inward to if not specified, e.g. geocode request for OX1

File:
1 edited

Legend:

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

    r635 r685  
    117117                ($request{outward},$request{inward}) =
    118118                                ($request{postcode} =~ /^([A-Z]+\d+[A-Z]?)\s*(\d[A-Z][A-Z])?$/);
     119               
     120                $request{inward} ||= "";
    119121
    120122                unless($request{outward}) {
Note: See TracChangeset for help on using the changeset viewer.