fix HC counters decision code, ignore if zero. (thanks Petr Hromadko!)

git-svn-id: http://www.observium.org/svn/observer/trunk@712 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2010-01-19 02:23:36 +00:00
parent 5d1c421822
commit a9be18708d
2 changed files with 1 additions and 2 deletions
-1
View File
@@ -102,7 +102,6 @@ echo('<table cellpadding="7" cellspacing="0" class="devicetable" width="100%">
$device_query = mysql_query($sql);
while($device = mysql_fetch_array($device_query)) {
if( devicepermitted($device['device_id']) ) {
#$device['uptime'] = @mysql_result(mysql_query("SELECT `attrib_value` FROM `devices_attribs` WHERE `device_id` = '" . $device['device_id'] ."' AND `attrib_type` = 'uptime'"), 0);
include("includes/hostbox.inc");
}
}