From cb1cf066f8b310c9afab1fd305c6a6a6077ceec5 Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Sun, 1 Apr 2018 14:16:12 +0300 Subject: [PATCH] Fix for report charts --- app/Jobs/RunReport.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Jobs/RunReport.php b/app/Jobs/RunReport.php index 19aeae05e3f4..5ecab24d7281 100644 --- a/app/Jobs/RunReport.php +++ b/app/Jobs/RunReport.php @@ -31,7 +31,7 @@ class RunReport extends Job $reportType = $this->reportType; $config = $this->config; - $config['subgroup'] = false; // don't yet support charts in export + $config['subgroup'] = $config['subgroup'] ?: false; // don't yet support charts in export $isExport = $this->isExport; $reportClass = '\\App\\Ninja\\Reports\\' . Str::studly($reportType) . 'Report';