Fixed changing area in existing address.
authorIain Patterson <me@iain.cx>
Mon, 22 Apr 2013 19:57:51 +0000 (15:57 -0400)
committerIain Patterson <me@iain.cx>
Mon, 22 Apr 2013 19:57:51 +0000 (15:57 -0400)
Searching for an existing address was using the old area ID rather than
any new one specified by the user.

lib/contact.php

index 4e3b456..d83e101 100644 (file)
     }
 
     /* Get address. */
+    $area_id = $_POST['area_id'];
     $line = $_POST['address'];
     $postcode = $_POST['postcode'];
     $q = new AddressQuery;