From c292f0412069b45315c895601ef95d8e64d38bf6 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Tue, 26 Nov 2013 21:18:46 -0800 Subject: [PATCH] remote job submission: typo in create_batch() RPC --- html/user/submit_rpc_handler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/user/submit_rpc_handler.php b/html/user/submit_rpc_handler.php index f3427c891c..82c834204c 100644 --- a/html/user/submit_rpc_handler.php +++ b/html/user/submit_rpc_handler.php @@ -240,7 +240,7 @@ function submit_batch($r) { } else { $batch_name = (string)($r->batch->batch_name); $batch_id = BoincBatch::insert( - "(user_id, create_time, njobs, name, app_id, logical_end_time, state) values ($user->id, $now, $njobs, '$batch_name', $app->id, $let, ".BATCH_STATE_IN_INIT.")" + "(user_id, create_time, njobs, name, app_id, logical_end_time, state) values ($user->id, $now, $njobs, '$batch_name', $app->id, $let, ".BATCH_STATE_INIT.")" ); if (!$batch_id) { xml_error(-1, "BOINC server: Can't create batch: ".BoincDb::error());