-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Open
Description
In tcpdf.php
Line 20015 in d0e8dd1
$this->cell_padding = isset($table_el['old_cell_padding']) ? $table_el['old_cell_padding'] : null; |
When we do not have an old $table_el['old_cell_padding'] we fallback to null. That is incorrect. We should fallback to a default array. Otherwise the end up with a lot of :
Warning: Trying to access array offset on null in TCPDF->adjustCellPadding()
The line should be:
$this->cell_padding = isset($table_el['old_cell_padding']) ? $table_el['old_cell_padding'] : array('T' => 0, 'R' => 0, 'B' => 0, 'L' => 0);
Metadata
Metadata
Assignees
Labels
No labels