From 019bb882834304615564c9f9e1c28ed1d980d8d9 Mon Sep 17 00:00:00 2001 From: Iain Patterson Date: Wed, 1 May 2013 10:13:15 -0400 Subject: [PATCH] Fix Area in City redirect. Use the new URI format when redirecting to a descriptive URI from a from submission. --- lib/area.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/area.php b/lib/area.php index 9670a86..720617e 100644 --- a/lib/area.php +++ b/lib/area.php @@ -9,7 +9,7 @@ } else if ($_POST['city_id']) { /* XXX: city_id is actually a string $city_name/$city_id */ - header(sprintf("Location: http%s://%s/%s/in/%s", ($_SERVER['HTTPS']) ? "s" : "", $_SERVER['HTTP_HOST'], $module, $_POST['city_id'])); + header(sprintf("Location: http%s://%s/%s/in/city/%s", ($_SERVER['HTTPS']) ? "s" : "", $_SERVER['HTTP_HOST'], $module, $_POST['city_id'])); exit; } else if ($_POST['update_area']) { -- 2.20.1