cleanups in device graphs

git-svn-id: http://www.observium.org/svn/observer/trunk@1892 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Tom Laermans
2011-03-16 21:59:11 +00:00
parent 08d22bb42f
commit 2d5eee1c95
11 changed files with 78 additions and 76 deletions
+2 -3
View File
@@ -8,7 +8,7 @@ $rrd_options .= " -l 0 -E ";
$iter = "1";
$sql = mysql_query("SELECT * FROM sensors WHERE sensor_class='current' AND device_id = '$id'");
$rrd_options .= " COMMENT:' Cur Min Max\\n'";
while($current = mysql_fetch_array($sql))
while ($current = mysql_fetch_array($sql))
{
switch ($iter)
{
@@ -51,5 +51,4 @@ while($current = mysql_fetch_array($sql))
$iter++;
}
?>
?>