diff --git a/app/Http/Controllers/GoogleChartController.php b/app/Http/Controllers/GoogleChartController.php index 2c5217be17..b16301cfdc 100644 --- a/app/Http/Controllers/GoogleChartController.php +++ b/app/Http/Controllers/GoogleChartController.php @@ -534,8 +534,6 @@ class GoogleChartController extends Controller /** @var Collection $set */ $set = DB::table('piggy_bank_events')->where('piggy_bank_id', $piggyBank->id)->groupBy('date')->get(['date', DB::Raw('SUM(`amount`) AS `sum`')]); - - $first = $set->first(); $sum = 0; foreach ($set as $entry) {