summaryrefslogtreecommitdiffstats
path: root/library/Graphite/Graphing/Template.php
diff options
context:
space:
mode:
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) {