From 823250d6470eb58df71e3b2f920095c2f5a85947 Mon Sep 17 00:00:00 2001
From: aldrichvalentino <aldrich.vh97@gmail.com>
Date: Wed, 4 Oct 2017 23:19:43 +0700
Subject: [PATCH] minor adjustment on orderController.php

---
 controller/orderController.php | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/controller/orderController.php b/controller/orderController.php
index fdc22714..b7d9b683 100644
--- a/controller/orderController.php
+++ b/controller/orderController.php
@@ -54,16 +54,13 @@ if(isset($_GET['driverId'])){
 
 if(isset($_POST['pickup'])){
     $date = date('Y-m-d H:i:s');
-    //echo $date;
     $pickup = $_POST['pickup'];
     $destination = $_POST['destination'];
     $driverId = $_POST['driverId'];
     $userId = $_POST['userId'];
     $rating = $_POST['rating'];
-    $pickup = $_POST['pickup'];
     $comment = $_POST['comment'];
     $transaction = new Order();
     $transaction->setTransaction($userId, $driverId, $pickup, $destination, $date, $rating, $comment);
     header('Location: ../view/dashboard.php?id='.$userId);
-    //echo "berhasil";
 }
-- 
GitLab