From: Iain Patterson Date: Mon, 22 Apr 2013 19:57:51 +0000 (-0400) Subject: Fixed changing area in existing address. X-Git-Tag: 2013-05-13~35 X-Git-Url: http://git.iain.cx/?a=commitdiff_plain;h=0f0d73d202f9b9c2b60f5774f1adb0c1c161d460;hp=d446396414b5741afb5a9580c0dee234445a201c;p=readifood.git 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. --- 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;