diff --git a/html/inc/bossa_impl.inc b/html/inc/bossa_impl.inc index d9a273f854..0e036ae09f 100644 --- a/html/inc/bossa_impl.inc +++ b/html/inc/bossa_impl.inc @@ -31,8 +31,8 @@ function show_next_job($app, $user) {
Please try again later. "; + page_tail(); } - page_tail(); } ?> diff --git a/html/ops/bossa_admin.php b/html/ops/bossa_admin.php index 90b2a5f587..ca14f6a097 100644 --- a/html/ops/bossa_admin.php +++ b/html/ops/bossa_admin.php @@ -283,6 +283,10 @@ function clear_batch($batch_id) { } else { echo "Database error."; } + $jobs = BossaJob::enum("batch_id=$batch_id"); + foreach ($jobs as $job) { + $job->update("state=1"); + } admin_page_tail(); }