From 361ab3eccf9d74511a240d5430e962d127a800fe Mon Sep 17 00:00:00 2001 From: David Anderson Date: Fri, 22 Jun 2012 07:39:15 +0000 Subject: [PATCH] svn path=/trunk/boinc/; revision=25786 --- html/user/server_status.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/user/server_status.php b/html/user/server_status.php index e83c0f4938..4b2c997572 100644 --- a/html/user/server_status.php +++ b/html/user/server_status.php @@ -180,7 +180,7 @@ function get_runtime_info($appid) { Select ceil(avg(elapsed_time)/3600*100)/100 as avg, ceil(min(elapsed_time)/3600*100)/100 as min, ceil(max(elapsed_time)/3600*100)/100 as max - from (SELECT cpu_time FROM `result` WHERE appid = $appid and validate_state =1 and received_time > (unix_timestamp()-(3600*24)) ORDER BY `received_time` DESC limit 100) t"); + from (SELECT elapsed_time FROM `result` WHERE appid = $appid and validate_state =1 and received_time > (unix_timestamp()-(3600*24)) ORDER BY `received_time` DESC limit 100) t"); $info = mysql_fetch_object($result); mysql_free_result($result); set_cached_data(3600, serialize($info), "get_runtime_info".$appid);