From 7bd0a4767c5221a58749de6c3056432976dbd209 Mon Sep 17 00:00:00 2001 From: drkthunder02 Date: Mon, 29 Apr 2019 00:34:43 -0500 Subject: [PATCH] modify bids --- app/Http/Controllers/ContractController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/ContractController.php b/app/Http/Controllers/ContractController.php index e0c51ea44..a2e0ec930 100644 --- a/app/Http/Controllers/ContractController.php +++ b/app/Http/Controllers/ContractController.php @@ -185,7 +185,7 @@ class ContractController extends Controller */ public function displayModifyBid($id) { //With the bid id number, look up the bid in the database to get the contract information - $bid = Bid::where(['id' => $id])->get(); + $bid = Bid::where(['id' => $id])->first(); dd($bid); //Retrieve the contract from the database $contract = Contract::where(['id' => $bid->contract_id])->get()->toArray();