From af6a9dd108afd90ac13020bd3af046cacd365ebb Mon Sep 17 00:00:00 2001
From: "fariz.tumbuan" <13515050@std.stei.itb.ac.id>
Date: Sat, 7 Oct 2017 17:57:05 +0800
Subject: [PATCH] Fix bug sign_up yang bikin error 500 kalo daftar sebagai
 non-driver

---
 login/sign_up.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/login/sign_up.php b/login/sign_up.php
index a66c1c3c..81eb6ee0 100644
--- a/login/sign_up.php
+++ b/login/sign_up.php
@@ -31,7 +31,7 @@
                 $user_id=$row['user_id'];
                 
                 if ($status == "customer") {
-                    header("Location: ../order/order.php?id=$user_id");
+                    header("Location: ../order/select_location.php?id=$user_id");
                 } else {
                     $query = mysqli_query($con,"INSERT INTO driver (driver_id,total_score,votes) VALUES ('$user_id',0,0)") or die(mysqli_error($con));
                     if ($query) {
-- 
GitLab