summaryrefslogtreecommitdiff
path: root/modules/search
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-07-10 12:54:25 -0700
committerTim Almdal <tnalmdal@shaw.ca>2009-07-10 12:54:25 -0700
commit863deab3d34359b2e33df718f3da4db1f97a7c7d (patch)
treedc365acc3e3efee4859db560fb0d71f1a1f4b532 /modules/search
parent09c9b1a75561881a40ada71f02710355923602e2 (diff)
Fix a bug where the task message was not being set
Diffstat (limited to 'modules/search')
-rw-r--r--modules/search/helpers/search_task.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/search/helpers/search_task.php b/modules/search/helpers/search_task.php
index 395bcd98..df1dfe16 100644
--- a/modules/search/helpers/search_task.php
+++ b/modules/search/helpers/search_task.php
@@ -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";