Fix
This commit is contained in:
parent
68199b5a1f
commit
a0037a4bc3
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue