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