summaryrefslogtreecommitdiffstats
path: root/frontends/php/discovery.php
diff options
context:
space:
mode:
authorsasha <sasha@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-03-13 16:07:22 +0000
committersasha <sasha@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-03-13 16:07:22 +0000
commit1f69048c2b2ce89df4e5e750a506f846108afcd1 (patch)
treeade2ccbc7ba102c18db351f8e7f65e36dfdefae1 /frontends/php/discovery.php
parente7ff4280becc9e7dbf57a6a46004a45079653205 (diff)
- [DEV-108] GUI - Discovery
git-svn-id: svn://svn.zabbix.com/trunk@5485 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/discovery.php')
-rw-r--r--frontends/php/discovery.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/php/discovery.php b/frontends/php/discovery.php
index 9877b2ef..a0063a20 100644
--- a/frontends/php/discovery.php
+++ b/frontends/php/discovery.php
@@ -137,7 +137,7 @@ include_once "include/page_header.php";
$table_row = array(
get_node_name_by_elid($h_data['druleid']),
new CSpan($ip, $h_data['class']),
- new CSpan(convert_units(time() - $h_data['time'], 'uptime'), $h_data['class'])
+ new CSpan(($h_data['time'] == 0 ? '' : convert_units(time() - $h_data['time'], 'uptime')), $h_data['class'])
);
foreach($services as $name => $foo)
{