Skip to content

Commit

Permalink
PHP 8 Warning fix on ODT export
Browse files Browse the repository at this point in the history
  • Loading branch information
eduardomozart authored May 27, 2024
1 parent 81450d7 commit aeff8af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -666,7 +666,7 @@ function renderODTOpenTable ($renderer, $attr, $style, $attr_string) {
$css_properties ['display'] = 'printer';
}

$background_color = $css_properties ['background-color'];
$background_color = $css_properties ['background-color'] ?? null;
$image = $css_properties ['background-image'] ?? null;
$margin_top = $css_properties ['margin-top'];
$margin_right = $css_properties ['margin-right'];
Expand Down

0 comments on commit aeff8af

Please sign in to comment.