mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-08-03 13:40:44 -04:00
Fix a bug where the task message was not being set
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user