Skip to content

Commit

Permalink
Fix contentOptions
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuatam authored Jul 20, 2022
1 parent e720dcd commit ce898e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ExportMenu.php
Original file line number Diff line number Diff line change
Expand Up @@ -1409,7 +1409,7 @@ public function generateRow($model, $key, $index)

//20201026 Scott: To avoid 'Closure object cannot have properties' error
try {
$format = ArrayHelper::getValue($column->contentOptions, 'cellFormat');
$format = ArrayHelper::getValue($contentOptions, 'cellFormat');
} catch (Exception $e) {
$format = null;
}
Expand Down

0 comments on commit ce898e1

Please sign in to comment.