From: Iain Patterson Date: Mon, 14 Apr 2014 13:26:41 +0000 (-0400) Subject: Merge branch 'master' into uat X-Git-Tag: uat-2014-04-14^0 X-Git-Url: http://git.iain.cx/?a=commitdiff_plain;h=d4756a23630bd3de036e2e4d09b168b56d14b0ae;hp=c302638e3b5c08805b56db1e2f9d1c0dce494f3c;p=readifood.git Merge branch 'master' into uat --- 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";