summaryrefslogtreecommitdiffstats
path: root/library/Graphite/Graphing/Template.php
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 13:21:35 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 13:21:35 +0000
commitcddcdba3c9be7e32454d0c54efd1d60e7cef7518 (patch)
tree485d573becbe08ff71189381739483cdb57cf949 /library/Graphite/Graphing/Template.php
parentAdding upstream version 1.2.2. (diff)
downloadicingaweb2-module-graphite-upstream.tar.xz
icingaweb2-module-graphite-upstream.zip
Adding upstream version 1.2.4.upstream/1.2.4upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'library/Graphite/Graphing/Template.php')
-rw-r--r--library/Graphite/Graphing/Template.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/library/Graphite/Graphing/Template.php b/library/Graphite/Graphing/Template.php
index a030fb7..0950fed 100644
--- a/library/Graphite/Graphing/Template.php
+++ b/library/Graphite/Graphing/Template.php
@@ -203,6 +203,7 @@ class Template
}
}
unset($_);
+ assert(isset($nextCurveName), 'loop did not initialize variable $nextCurveName');
$allowedNextCurveMetricsPerCurrentCurveName = [];
foreach ($currentCombination as $currentCurveName => $currentCurveMetric) {