Skip to content
Snippets Groups Projects
Commit 34d4dcd9 authored by Gábor Hojtsy's avatar Gábor Hojtsy
Browse files

#867722 by Dave Reid: avoid a PHP notice when a batch is used without JavaScript

parent 8dbb81df
No related branches found
No related tags found
No related merge requests found
......@@ -133,6 +133,7 @@ function _batch_progress_page_nojs() {
// followed by the error message.
ob_start();
$fallback = $current_set['error_message'] .'<br/>'. $batch['error_message'];
drupal_maintenance_theme();
$fallback = theme('maintenance_page', $fallback, FALSE, FALSE);
// We strip the end of the page using a marker in the template, so any
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment