summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-11-02 00:42:06 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-11-02 00:42:06 +0000
commitab91113c56366dc30deaba00bfed0b9b22b58b22 (patch)
treee53f8a1a985beb4fb21b7db878484f78b4b33abf /includes
parente9ef3ac2f25bcb4565af90a2bcae2db7ff764034 (diff)
downloadbrdo-ab91113c56366dc30deaba00bfed0b9b22b58b22.tar.gz
brdo-ab91113c56366dc30deaba00bfed0b9b22b58b22.tar.bz2
#617420 by ksenzee: Fixed batch system error on redirection.
Diffstat (limited to 'includes')
-rw-r--r--includes/batch.inc2
-rw-r--r--includes/form.inc2
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,