summaryrefslogtreecommitdiff
path: root/includes/batch.inc
diff options
context:
space:
mode:
Diffstat (limited to 'includes/batch.inc')
-rw-r--r--includes/batch.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/batch.inc b/includes/batch.inc
index 3f93bcbbc..8bca73270 100644
--- a/includes/batch.inc
+++ b/includes/batch.inc
@@ -226,7 +226,7 @@ function _batch_process() {
'@percentage' => $percentage,
);
$message = strtr($progress_message, $values) .'<br/>';
- $message.= $task_message ? $task_message : '&nbsp';
+ $message .= $task_message ? $task_message : '&nbsp';
return array($percentage, $message);
}
@@ -272,7 +272,7 @@ function _batch_finished() {
$batch =& batch_get();
// Execute the 'finished' callbacks.
- foreach($batch['sets'] as $key => $batch_set) {
+ foreach ($batch['sets'] as $key => $batch_set) {
if (isset($batch_set['finished']) && function_exists($batch_set['finished'])) {
$batch_set['finished']($batch_set['success'], $batch_set['results'], $batch_set['operations']);
}