reporting: render RRD integer as string

PR: https://github.com/opnsense/core/issues/9686

(cherry picked from commit ca06d54676)
(cherry picked from commit 70629923bb)
This commit is contained in:
Franco Fichtner 2026-01-31 15:01:10 +01:00
parent 889098cfa4
commit 6933841c63

View file

@ -151,7 +151,7 @@ abstract class Base
return $this;
}
$cmd_frmt = ['/usr/local/bin/rrdtool create %s --step %d'];
$cmd_frmt = ['/usr/local/bin/rrdtool create %s --step %s'];
$cmd_args = [$this->filename, 60];
foreach ($this->datasets as $dataset) {