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 "