From 009c426bb2c9a34e5e7d7527242536da3bea7aaa Mon Sep 17 00:00:00 2001 From: Iain Patterson Date: Mon, 14 Apr 2014 09:25:08 -0400 Subject: [PATCH] Typo. --- lib/contact.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/contact.php b/lib/contact.php index 8013989..fdbd169 100644 --- 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 "

Added contact.

\n"; -- 2.7.4