mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 17:25:26 +02:00
Clean magic number and define dynamic width
This commit is contained in:
parent
22305d7221
commit
b34b89f514
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user