From 3d4b59fdbd2d1e8f468237cb61567e879e61b786 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=2E=20Rene=CC=81e=20Beach?= Date: Wed, 22 Jan 2014 22:16:53 -0500 Subject: [PATCH] temp MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: J. Renée Beach --- core/includes/batch.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/includes/batch.inc b/core/includes/batch.inc index 458d238..824c862 100644 --- a/core/includes/batch.inc +++ b/core/includes/batch.inc @@ -110,7 +110,7 @@ function _batch_progress_page() { $new_op = 'do_nojs'; - if (!isset($batch['running'])) { + if (isset($batch['running'])) { // This is the first page so we return some output immediately. $percentage = 0; $message = $current_set['init_message']; @@ -145,6 +145,7 @@ function _batch_progress_page() { $new_op = 'finished'; } + die(); // PHP did not die; remove the fallback output. ob_end_clean(); } -- 1.8.2