mirror of https://github.com/BOINC/boinc.git
remote job submission: typo in create_batch() RPC
This commit is contained in:
parent
dd76a873d0
commit
c292f04120
|
@ -240,7 +240,7 @@ function submit_batch($r) {
|
||||||
} else {
|
} else {
|
||||||
$batch_name = (string)($r->batch->batch_name);
|
$batch_name = (string)($r->batch->batch_name);
|
||||||
$batch_id = BoincBatch::insert(
|
$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) {
|
if (!$batch_id) {
|
||||||
xml_error(-1, "BOINC server: Can't create batch: ".BoincDb::error());
|
xml_error(-1, "BOINC server: Can't create batch: ".BoincDb::error());
|
||||||
|
|
Loading…
Reference in New Issue