From: Iain Patterson Date: Mon, 22 Apr 2013 19:57:51 +0000 (-0400) Subject: Fixed changing area in existing address. X-Git-Tag: 2013-04-22~1 X-Git-Url: http://git.iain.cx/?a=commitdiff_plain;h=83ae8301b0ebdd1b334feb26888f33e80ddc9467;hp=6d640e4fbc1c3dc974bbbbdd23b951b187293fdf;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;