Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c9c09d6

Browse files
committed
Merge branch 'QA_5_2'
Signed-off-by: Maurício Meneghini Fauth <[email protected]>
2 parents ec4161b + e5ce13f commit c9c09d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Plugins/Export/Helpers/Pdf.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -595,7 +595,7 @@ public function getTableDef(
595595
foreach ($data as $col => $txt) {
596596
$this->page = $currpage;
597597
$this->setXY($l, $h);
598-
if ($this->tablewidths[$col] > 0) {
598+
if (isset($this->tablewidths[$col]) && $this->tablewidths[$col] > 0) {
599599
$this->MultiCell(
600600
$this->tablewidths[$col],
601601
// phpcs:ignore Squiz.NamingConventions.ValidVariableName.MemberNotCamelCaps

0 commit comments

Comments
 (0)