mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-08 17:15:08 +02:00
(Bar/Line)Graph: Fix Variable '$ts' is probably undefined
This commit is contained in:
parent
e3b89184ae
commit
b68eb40103
@ -67,6 +67,7 @@ class BarGraph extends Styleable implements Drawable
|
||||
$this->dataSet = $dataSet;
|
||||
|
||||
$this->tooltips = $tooltips;
|
||||
$ts = [];
|
||||
foreach ($this->tooltips as $value) {
|
||||
$ts[] = $value;
|
||||
}
|
||||
|
@ -74,6 +74,7 @@ class LineGraph extends Styleable implements Drawable
|
||||
$this->graphs = $graphs;
|
||||
|
||||
$this->tooltips = $tooltips;
|
||||
$ts = [];
|
||||
foreach ($this->tooltips as $value) {
|
||||
$ts[] = $value;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user