From a0037a4bc39e20a1a003e230c9f302b34717af85 Mon Sep 17 00:00:00 2001 From: Kekskurse Date: Thu, 21 Jan 2021 15:51:49 +0100 Subject: [PATCH] Fix --- app/Http/Controllers/ReportController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/ReportController.php b/app/Http/Controllers/ReportController.php index 7077ce6..3a4da80 100644 --- a/app/Http/Controllers/ReportController.php +++ b/app/Http/Controllers/ReportController.php @@ -36,7 +36,7 @@ class ReportController extends BaseController $reportData = DB::select("SELECT * FROM storage WHERE tenant = ".(int)session("current_tenant_id")." AND `year` = ".(int)$year." AND `month` = ".(int)$month.";"); $report = "year;month;day;hour;gallery;size\n"; foreach ($reportData as $reportLine) { - $report .= $reportLine->year.";".$reportLine->month.";".$reportLine->day.";".$reportLine->hour.";".$reportLine->gallery.";"$reportLine->size."\n"; + $report .= $reportLine->year.";".$reportLine->month.";".$reportLine->day.";".$reportLine->hour.";".$reportLine->gallery.";".$reportLine->size."\n"; } $res = new Response();