Fix for report charts

This commit is contained in:
Hillel Coren 2018-04-01 14:16:12 +03:00
parent 7067ae72bf
commit cb1cf066f8

View File

@ -31,7 +31,7 @@ class RunReport extends Job
$reportType = $this->reportType; $reportType = $this->reportType;
$config = $this->config; $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; $isExport = $this->isExport;
$reportClass = '\\App\\Ninja\\Reports\\' . Str::studly($reportType) . 'Report'; $reportClass = '\\App\\Ninja\\Reports\\' . Str::studly($reportType) . 'Report';