diff options
-rw-r--r-- | includes/batch.inc | 2 | ||||
-rw-r--r-- | includes/form.inc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/includes/batch.inc b/includes/batch.inc index 9f094eab6..9a4f8271f 100644 --- a/includes/batch.inc +++ b/includes/batch.inc @@ -444,7 +444,7 @@ function _batch_finished() { $_batch['form_state']['redirect'] = $_batch['redirect']; } else { - $_batch['form_state']['redirect'] = $_batch['source_page']; + $_batch['form_state']['redirect'] = $_batch['source_url']; } } diff --git a/includes/form.inc b/includes/form.inc index 062fc089e..06ab7e0a6 100644 --- a/includes/form.inc +++ b/includes/form.inc @@ -3054,7 +3054,7 @@ function batch_process($redirect = NULL, $url = 'batch', $redirect_callback = 'd 'progressive' => TRUE, 'url' => $url, 'url_options' => array(), - 'source_page' => $_GET['q'], + 'source_url' => $_GET['q'], 'redirect' => $redirect, 'theme' => $GLOBALS['theme_key'], 'redirect_callback' => $redirect_callback, |