diff --git a/html/inc/db_ops.inc b/html/inc/db_ops.inc index 16cfd9801a..61a562230c 100644 --- a/html/inc/db_ops.inc +++ b/html/inc/db_ops.inc @@ -1018,7 +1018,13 @@ function show_result_ops($result) { row("claimed credit", $result->claimed_credit); row("Granted credit", $result->granted_credit); row("Application", "appid\">".app_name_by_id($result->appid).""); - row("App version", "appid&clauses=version_num%3D$result->app_version_num\">".app_version_string($result).""); + if ($result->app_version_id > 0) { + $x1 = "app_version_id\">"; + $x2 = ""; + } else { + $x1 = $x2 = ""; + } + row("App version", $x1.app_version_string($result).$x2); row("App version ID", $result->app_version_id); row("Estimated GFLOPS", number_format($result->flops_estimate/1e9, 2)); row("Random",$result->random);