Fix a bug where the task message was not being set

This commit is contained in:
Tim Almdal
2009-07-10 12:54:25 -07:00
parent 09c9b1a755
commit 863deab3d3
+1
View File
@@ -69,6 +69,7 @@ class search_task_Core {
$task->status = t2("one record updated, index is %percent% up-to-date",
"%count records updated, index is %percent% up-to-date",
$completed, array("percent" => $percent));
$message[] = $task->status;
} catch (Exception $e) {
$task->done = true;
$task->state = "error";