From b34b89f5147f0edad0cfed95a57587de88364902 Mon Sep 17 00:00:00 2001 From: Jose Gonzalez Date: Thu, 13 Jan 2022 17:45:16 +0100 Subject: [PATCH] Clean magic number and define dynamic width --- pandora_console/include/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora_console/include/functions.php b/pandora_console/include/functions.php index dc7294393e..d2c75dc494 100644 --- a/pandora_console/include/functions.php +++ b/pandora_console/include/functions.php @@ -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) {