From 556371c11d3a96962e43d801cd6c6da53cd1e20f Mon Sep 17 00:00:00 2001 From: Russ Long Date: Sun, 1 May 2022 09:33:38 -0400 Subject: [PATCH] typofix --- app/Console/Commands/TabulateWinners.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Console/Commands/TabulateWinners.php b/app/Console/Commands/TabulateWinners.php index c36fe24..a197c2c 100644 --- a/app/Console/Commands/TabulateWinners.php +++ b/app/Console/Commands/TabulateWinners.php @@ -64,7 +64,7 @@ class TabulateWinners extends Command { $peoplesChoiceWinnerQuery = DB::table('peoples_choice') ->groupBy('peoples_choice.vehicle') - ->selectRaw('*, sum(pc_count as totalscore') + ->selectRaw('*, sum(pc_count) as totalscore') ->whereNotIn('vehicle', function($query){ $query->select('vehicle')->from('car_show_winners'); })