mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-27 07:44:35 +02:00
Update functions.php
This commit is contained in:
parent
b34b89f514
commit
ea67ffddb4
@ -4185,8 +4185,11 @@ function generator_chart_to_pdf(
|
|||||||
) {
|
) {
|
||||||
$width_img = 650;
|
$width_img = 650;
|
||||||
$height_img = ($params['height'] + 50);
|
$height_img = ($params['height'] + 50);
|
||||||
|
} else if ($type_graph_pdf === 'hbar') {
|
||||||
|
$width_img = ($params['width'] ?? 550);
|
||||||
|
$height_img = $params['height'];
|
||||||
} else {
|
} else {
|
||||||
$width_img = $params['width'];
|
$width_img = 550;
|
||||||
$height_img = $params['height'];
|
$height_img = $params['height'];
|
||||||
|
|
||||||
if ((int) $params['landscape'] === 1) {
|
if ((int) $params['landscape'] === 1) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user