From 99347c853a3f24ccdebabf07ed6c9532d1efcd5b Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Mon, 23 Apr 2018 12:17:49 +0300 Subject: [PATCH] Fix for scheduled reports --- 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 5ecab24d7281..4fa4a56025c1 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'] = $config['subgroup'] ?: false; // don't yet support charts in export + $config['subgroup'] = ! empty($config['subgroup']) ? $config['subgroup'] : false; // don't yet support charts in export $isExport = $this->isExport; $reportClass = '\\App\\Ninja\\Reports\\' . Str::studly($reportType) . 'Report';