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