Commit d06e65cd authored by Dave Reid's avatar Dave Reid
Browse files

by Dave Reid: Fixed bug in xmlsitemap_run_progressive_batch().

parent abbaba1f
...@@ -1140,7 +1140,7 @@ function xmlsitemap_context_check(array $context) { ...@@ -1140,7 +1140,7 @@ function xmlsitemap_context_check(array $context) {
*/ */
function xmlsitemap_run_progressive_batch() { function xmlsitemap_run_progressive_batch() {
$args = func_get_args(); $args = func_get_args();
$batch_callback = array_shift(); $batch_callback = array_shift($args);
// Build the batch array. // Build the batch array.
$batch = call_user_func_array($batch_callback, $args); $batch = call_user_func_array($batch_callback, $args);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment