Clean magic number and define dynamic width

This commit is contained in:
Jose Gonzalez 2022-01-13 17:45:16 +01:00
parent 22305d7221
commit b34b89f514
1 changed files with 1 additions and 1 deletions

View File

@ -4186,7 +4186,7 @@ function generator_chart_to_pdf(
$width_img = 650;
$height_img = ($params['height'] + 50);
} else {
$width_img = 550;
$width_img = $params['width'];
$height_img = $params['height'];
if ((int) $params['landscape'] === 1) {