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:
99c9591
)
Typo.
2014-04-14
author
Iain Patterson
<me@iain.cx>
Mon, 14 Apr 2014 13:25:08 +0000
(09:25 -0400)
committer
Iain Patterson
<me@iain.cx>
Mon, 14 Apr 2014 13:25:08 +0000
(09:25 -0400)
lib/contact.php
patch
|
blob
|
history
diff --git
a/lib/contact.php
b/lib/contact.php
index
8013989
..
fdbd169
100644
(file)
--- a/
lib/contact.php
+++ b/
lib/contact.php
@@
-6,7
+6,7
@@
show_new_contact_form($city_id);
}
else if (isset($_POST['add_contact'])) {
- set_last_selected("area_id", $
area_id
);
+ set_last_selected("area_id", $
_POST['area_id']
);
$id = add_contact($displayname);
if ($id !== false) {
echo "<p>Added contact.</p>\n";