diff --git a/webapp/controller/HashRateController.class.php b/webapp/controller/HashRateController.class.php index c7443c1d..efcc7eeb 100644 --- a/webapp/controller/HashRateController.class.php +++ b/webapp/controller/HashRateController.class.php @@ -42,6 +42,8 @@ class HashRateController extends BaseAuthedController $mateList2 = \mt\AchievementsPower::getListByType(\mt\AchievementsPower::TYPE5); foreach ($mateList2 as $mate) { $taskDb = HashRate::find($mate['id'],$currentPeriod['id']); + $mate['task_id'] = $mate['id']; + $mate['current'] = 0; $taskDto = $this->hashRateService->hashRateTaskDto($mate,$taskDb,$currentPeriod['id']); array_push($taskDtoList2, $taskDto); }