mirror of
https://github.com/tecnickcom/TCPDF.git
synced 2025-04-20 22:12:32 +02:00
Fix TypeError: count() in PHP8 (#556)
Co-authored-by: Nicola Asuni <nicolaasuni@users.noreply.github.com>
This commit is contained in:
parent
6da8a0f8b6
commit
29c3748b5f
@ -19719,7 +19719,7 @@ Putting 1 is equivalent to putting 0 and calling Ln() just after. Default value:
|
||||
$table_el = $dom[($dom[$key]['parent'])];
|
||||
}
|
||||
// for each row
|
||||
if (count($table_el['trids']) > 0) {
|
||||
if (!empty($table_el['trids'])) {
|
||||
unset($xmax);
|
||||
}
|
||||
foreach ($table_el['trids'] as $j => $trkey) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user