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';