git://git.iain.cx/iain
/
readifood.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d640e4
)
Fixed changing area in existing address.
author
Iain Patterson
<me@iain.cx>
Mon, 22 Apr 2013 19:57:51 +0000
(15:57 -0400)
committer
Iain Patterson
<me@iain.cx>
Mon, 22 Apr 2013 20:12:07 +0000
(16:12 -0400)
Searching for an existing address was using the old area ID rather than
any new one specified by the user.
lib/contact.php
patch
|
blob
|
history
diff --git
a/lib/contact.php
b/lib/contact.php
index
4e3b456
..
d83e101
100644
(file)
--- 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;