From 0295e3f5dad3ef1f189d59c3d6a66cb78535ef27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20L=C3=B8vbr=C3=B8tte=20Olsen?= Date: Sat, 27 Aug 2016 23:21:29 +0200 Subject: [PATCH] Fix redirect --- blomzt/add.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/blomzt/add.php b/blomzt/add.php index adb1486..9ec9b12 100644 --- a/blomzt/add.php +++ b/blomzt/add.php @@ -80,7 +80,7 @@ if ($_SERVER["REQUEST_METHOD"] == "POST") { } - header("Location: main.php#13/".$_POST["Latitude"]."/".$_POST["Longtitude"]); + header("Location: /#13/".$_POST["Latitude"]."/".$_POST["Longtitude"]); die(); @@ -141,4 +141,4 @@ function addToTable($lat, $lon, $url, $table, $conn) { //($res) ? printf("true") : printf("false"); return $res; } -?> \ No newline at end of file +?>