Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
ab91113c
Commit
ab91113c
authored
Nov 02, 2009
by
webchick
Browse files
#617420
by ksenzee: Fixed batch system error on redirection.
parent
e9ef3ac2
Changes
2
Hide whitespace changes
Inline
Side-by-side
includes/batch.inc
View file @
ab91113c
...
...
@@ -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
'
];
}
}
...
...
includes/form.inc
View file @
ab91113c
...
...
@@ -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
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment