Bug Report
Typo in Classes/Service/TcpdfWrapper.php line 133: The code uses heigth (typo) instead of height, causing an "Undefined array key 'heigth'" warning when rendering PDFs with header logos.
if (!empty($config['height'])) {
$view->assign('heigth', $config['heigth']); // typo: heigth instead of height
}
Expected behavior/output
The code should use the correct spelling height to access the configuration value without warnings.
if (!empty($config['height'])) {
$view->assign('height', $config['height']);
}
##Environment
- TYPO3 version(s): 13.4
- cart-pdf version: main (commit 619b5db)
- Is your TYPO3 installation set up with Composer (Composer Mode): yes
Bug Report
Typo in
Classes/Service/TcpdfWrapper.phpline 133: The code usesheigth(typo) instead ofheight, causing an "Undefined array key 'heigth'" warning when rendering PDFs with header logos.Expected behavior/output
The code should use the correct spelling height to access the configuration value without warnings.
##Environment