diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-14 13:21:36 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-14 13:21:36 +0000 |
commit | 9a9ff27e57ad3eb60909f0a4d0bd74755df52662 (patch) | |
tree | 38d91ef37d115b2baffd54f40c74aef7a724d7b6 /application/controllers/GraphController.php | |
parent | Releasing progress-linux version 1.2.2-3~progress7.99u1. (diff) | |
download | icingaweb2-module-graphite-9a9ff27e57ad3eb60909f0a4d0bd74755df52662.tar.xz icingaweb2-module-graphite-9a9ff27e57ad3eb60909f0a4d0bd74755df52662.zip |
Merging upstream version 1.2.4.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | application/controllers/GraphController.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/application/controllers/GraphController.php b/application/controllers/GraphController.php index c8dc7db..2c59171 100644 --- a/application/controllers/GraphController.php +++ b/application/controllers/GraphController.php @@ -152,8 +152,8 @@ class GraphController extends Controller $charts[0] ->setFrom($this->graphParams['start']) ->setUntil($this->graphParams['end']) - ->setWidth($this->graphParams['width']) - ->setHeight($this->graphParams['height']) + ->setWidth((int) $this->graphParams['width']) + ->setHeight((int) $this->graphParams['height']) ->setBackgroundColor($this->graphParams['bgcolor']) ->setForegroundColor($this->graphParams['fgcolor']) ->setMajorGridLineColor($this->graphParams['majorGridLineColor']) |