Merge pull request #23689 from grandoc/new_branch_25_01_2023

fix : Warning: Undefined array key xStartPos in /home/httpd/vhosts/af…
This commit is contained in:
Laurent Destailleur 2023-01-25 23:43:54 +01:00 committed by GitHub
commit d7ec90d0da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1104,7 +1104,7 @@ abstract class CommonDocGenerator
public function getColumnContentXStart($colKey)
{
$colDef = $this->cols[$colKey];
return $colDef['xStartPos'] + $colDef['content']['padding'][3];
return (isset($colDef['xStartPos']) ? $colDef['xStartPos'] : 0) + $colDef['content']['padding'][3];
}
/**