Skip to content

Commit

Permalink
check empty condition
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolaasuni committed Mar 18, 2024
1 parent 883cbb4 commit 1ae5c47
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tcpdf.php
Original file line number Diff line number Diff line change
Expand Up @@ -16389,6 +16389,9 @@ public function getHTMLFontUnits($val, $refsize=12, $parent_size=12, $defaultuni
* @since 3.2.000 (2008-06-20)
*/
protected function getHtmlDomArray($html) {
if(empty($html)) {
return array();
}
// array of CSS styles ( selector => properties).
$css = array();
// get CSS array defined at previous call
Expand Down

0 comments on commit 1ae5c47

Please sign in to comment.