From 9faacb9074fc00fed919cd7a3a7e6c9e099fee7d Mon Sep 17 00:00:00 2001 From: Karl Chen Date: Mon, 4 Aug 2003 23:25:43 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=1973 --- html/ops/db_ops.inc | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/html/ops/db_ops.inc b/html/ops/db_ops.inc index 860fffc48e..a01bce9023 100644 --- a/html/ops/db_ops.inc +++ b/html/ops/db_ops.inc @@ -328,7 +328,7 @@ function result_short_header() { outcome client state host - client version + client ver received "; @@ -355,7 +355,11 @@ function show_result_short($result) { } else { echo "---\n"; } - $version = sprintf("%.2f", $result->client_version_num/100); + if ($result->client_version_num) { + $version = '---'; + } else { + $version = sprintf("%.2f", $result->client_version_num/100); + } echo "$version"; echo "$received"; echo "