From 50d9e35e293dbbfc9c1cbbb45e68d5509eea49a8 Mon Sep 17 00:00:00 2001 From: Rom Walton Date: Wed, 8 Jul 2015 11:54:58 -0400 Subject: [PATCH] remote job submission: bug fix for getting the CPU time. --- html/inc/submit.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/html/inc/submit.inc b/html/inc/submit.inc index dd323ce3f8..fa580ff7ff 100644 --- a/html/inc/submit.inc +++ b/html/inc/submit.inc @@ -189,7 +189,7 @@ function boinc_submit_batch($req) { function boinc_query_batches($req) { $get_cpu_time = - empty($req->get_cpu_time)?" 1\n":"" + !empty($req->get_cpu_time)?" 1\n":"" ; $req_xml = " $req->authenticator @@ -208,7 +208,7 @@ $get_cpu_time function boinc_query_batch($req) { $get_cpu_time = - empty($req->get_cpu_time)?" 1\n":"" + !empty($req->get_cpu_time)?" 1\n":"" ; $req_xml = " $req->authenticator