From 83ae8301b0ebdd1b334feb26888f33e80ddc9467 Mon Sep 17 00:00:00 2001 From: Iain Patterson Date: Mon, 22 Apr 2013 15:57:51 -0400 Subject: [PATCH] Fixed changing area in existing address. Searching for an existing address was using the old area ID rather than any new one specified by the user. --- lib/contact.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/contact.php b/lib/contact.php index 4e3b456..d83e101 100644 --- a/lib/contact.php +++ b/lib/contact.php @@ -370,6 +370,7 @@ } /* Get address. */ + $area_id = $_POST['area_id']; $line = $_POST['address']; $postcode = $_POST['postcode']; $q = new AddressQuery; -- 2.7.4