### Eclipse Workspace Patch 1.0
#P Test Drupal 6
Index: includes/form.inc
===================================================================
RCS file: /cvs/drupal/drupal/includes/form.inc,v
retrieving revision 1.191
diff -u -r1.191 form.inc
--- includes/form.inc 4 May 2007 09:41:36 -0000 1.191
+++ includes/form.inc 5 May 2007 00:52:49 -0000
@@ -1688,10 +1688,9 @@
* // continues browsing in a separate window while the batch is processing.
* // 'finished' (write): A float number between 0 and 1 informing
* // the processing engine of the completion level for the operation.
- * // 1 means the operation is finished and processing can continue
- * // to the next operation. This value always be 1 if not specified
- * // by the batch operation (a single-step operation), so that will
- * // be considered as finished.
+ * // 1 (or no value explicitly set) means the operation is finished
+ * // and the batch processing can continue to the next operation.
+ *
* $node = node_load(array('uid' => $uid, 'type' => $type));
* $context['results'][] = $node->nid .' : '. $node->title;
* $context['message'] = $node->title;
@@ -1821,7 +1820,7 @@
/**
* Process the batch.
- *
+ *
* Unless the batch has been markes with 'progressive' = FALSE, the function
* isses a drupal_goto and thus ends page execution.
*
@@ -1854,7 +1853,7 @@
'url' => isset($url) ? $url : 'batch',
'source_page' => $_GET['q'],
'redirect' => $redirect,
- 'error_message' => $t('Please continue to the error page', array('!error_url' => url($url, array('query' => array('id' => $batch['id'], 'op' => 'error'))))),
+ 'error_message' => $t('Please continue to the error page', array('@error_url' => url($url, array('query' => array('id' => $batch['id'], 'op' => 'error'))))),
);
$batch += $process_info;