Skip to content

Commit

Permalink
fix: Undefined array key "suffix"
Browse files Browse the repository at this point in the history
  • Loading branch information
andreiio committed Oct 24, 2024
1 parent 6f6eaad commit cd12a8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Exports/Sheets/ReportStatisticSheet.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public function headings(): array
->map(function (array $column) {
$label = $column['label'];

if (filled($column['suffix'])) {
if (filled(data_get($column, 'suffix'))) {
$label .= "\n({$column['suffix']})";
}

Expand Down

0 comments on commit cd12a8a

Please sign in to comment.