From cfd38b075873e63ae40994135afc82b889ab7a48 Mon Sep 17 00:00:00 2001 From: drkthunder02 Date: Mon, 29 Apr 2019 02:01:39 -0500 Subject: [PATCH] all contracts --- 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 5b191cdd9..9233c635c 100644 --- a/app/Http/Controllers/ContractController.php +++ b/app/Http/Controllers/ContractController.php @@ -108,7 +108,7 @@ class ContractController extends Controller $today = Carbon::now(); //Fetch all of the current contracts from the database - $contractTemp = Contract::where('end_date', '>=', $today) + $contractsTemp = Contract::where('end_date', '>=', $today) ->where(['type' => 'private'])->get(); //Count the number of bids, and add them to the arrays