From f30bbf8be225743711d7b161b59b8fb0c310ab22 Mon Sep 17 00:00:00 2001 From: Pim van den Berg Date: Fri, 21 Dec 2012 19:08:57 +0100 Subject: type: resolve undefined variable $c and $raw notices Reported-by: Philipp Hellmich --- type/Default.class.php | 1 + 1 file changed, 1 insertion(+) (limited to 'type/Default.class.php') diff --git a/type/Default.class.php b/type/Default.class.php index 13e45c9..26189c7 100644 --- a/type/Default.class.php +++ b/type/Default.class.php @@ -35,6 +35,7 @@ class Type_Default { } function rainbow_colors() { + $c = 0; $sources = count($this->rrd_get_sources()); foreach ($this->rrd_get_sources() as $ds) { # hue (saturnation=1, value=1) -- cgit v1.1