From: Iain Patterson Date: Mon, 14 Apr 2014 13:25:08 +0000 (-0400) Subject: Typo. X-Git-Tag: 2014-04-14 X-Git-Url: http://git.iain.cx/?a=commitdiff_plain;h=655aeaac91b28ba6f09e7b6e0c72dd76e35c5c4f;p=readifood.git Typo. --- 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";