#617420 by ksenzee: Fixed batch system error on redirection.
parent
e9ef3ac2f2
commit
ab91113c56
|
@ -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'];
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue