From d2ff1002ccc1412e0ee4ff6f6da62972399347dc Mon Sep 17 00:00:00 2001 From: Tom Laermans Date: Mon, 19 Jul 2010 10:48:16 +0000 Subject: [PATCH] default to black graph for first toner when not recognized as CMYK value git-svn-id: http://www.observium.org/svn/observer/trunk@1429 61d68cd4-352d-0410-923a-c4978735b2b8 --- html/includes/graphs/device_toner.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/html/includes/graphs/device_toner.inc.php b/html/includes/graphs/device_toner.inc.php index 0e78e55059..dde67a9e46 100644 --- a/html/includes/graphs/device_toner.inc.php +++ b/html/includes/graphs/device_toner.inc.php @@ -13,7 +13,7 @@ while($toner = mysql_fetch_array($sql)) switch ($iter) { case "1": - $colour= "CC0000"; + $colour= "000000"; break; case "2": $colour= "008C00"; @@ -32,7 +32,7 @@ while($toner = mysql_fetch_array($sql)) break; case "7": default: - $colour= "FF0084"; + $colour= "FF0000"; unset($iter); break; }