diff options
Diffstat (limited to 'includes/batch.inc')
-rw-r--r-- | includes/batch.inc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/includes/batch.inc b/includes/batch.inc index 2cc41a922..ad5630368 100644 --- a/includes/batch.inc +++ b/includes/batch.inc @@ -80,10 +80,10 @@ function _batch_start() { function _batch_progress_page_js() { $batch = batch_get(); - // The first batch set gets to set the page title and the initialization and - // error messages. Only safe strings should be passed in to batch_set(). + // The first batch set gets to set the page title + // and the initialization and error messages. $current_set = _batch_current_set(); - drupal_set_title($current_set['title'], PASS_THROUGH); + drupal_set_title($current_set['title']); drupal_add_js('misc/progress.js', 'core', 'header', FALSE, FALSE); $url = url($batch['url'], array('query' => array('id' => $batch['id']))); @@ -126,7 +126,7 @@ function _batch_progress_page_nojs() { $batch =& batch_get(); $current_set = _batch_current_set(); - drupal_set_title($current_set['title'], PASS_THROUGH); + drupal_set_title($current_set['title']); $new_op = 'do_nojs'; |