Skip to content

Commit

Permalink
Update tcpdf.php
Browse files Browse the repository at this point in the history
Co-authored-by: William Desportes <williamdes@wdes.fr>
  • Loading branch information
jlouche and williamdes committed Apr 27, 2024
1 parent 942a569 commit f8cf259
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tcpdf.php
Expand Up @@ -16440,7 +16440,7 @@ protected function getHtmlDomArray($html) {
)
);

if(empty($html) && $html != '0') {
if($html === '' || $html === null) {
return $dom;
}
// array of CSS styles ( selector => properties).
Expand Down

0 comments on commit f8cf259

Please sign in to comment.