remote job submission: bug fix for getting the CPU time.

This commit is contained in:
Rom Walton 2015-07-08 11:54:58 -04:00
parent 4f0d27c702
commit 50d9e35e29
1 changed files with 2 additions and 2 deletions

View File

@ -189,7 +189,7 @@ function boinc_submit_batch($req) {
function boinc_query_batches($req) {
$get_cpu_time =
empty($req->get_cpu_time)?" <get_cpu_time>1</get_cpu_time>\n":""
!empty($req->get_cpu_time)?" <get_cpu_time>1</get_cpu_time>\n":""
;
$req_xml = "<query_batches>
<authenticator>$req->authenticator</authenticator>
@ -208,7 +208,7 @@ $get_cpu_time
function boinc_query_batch($req) {
$get_cpu_time =
empty($req->get_cpu_time)?" <get_cpu_time>1</get_cpu_time>\n":""
!empty($req->get_cpu_time)?" <get_cpu_time>1</get_cpu_time>\n":""
;
$req_xml = "<query_batch>
<authenticator>$req->authenticator</authenticator>