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