We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5bac8cf commit 4f5001bCopy full SHA for 4f5001b
src/Jobs/DataTableExportJob.php
@@ -79,7 +79,7 @@ public function handle()
79
$cells = collect();
80
$columns->map(function (Column $column, $index) use ($row, $cells) {
81
$property = $column['data'];
82
- $value = $row->{$property};
+ $value = $row->{$property} ?? '';
83
84
if ($value instanceof \DateTime || $this->wantsDateFormat($column)) {
85
$date = $value ? Date::dateTimeToExcel(Carbon::parse($value)) : '';
0 commit comments