From 757583ef636dc175e429b214df797c06f1ab5609 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Fri, 25 Feb 2022 16:46:14 +0800 Subject: [PATCH] 1 --- webapp/mt/Task.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/webapp/mt/Task.php b/webapp/mt/Task.php index 824ec3e3..6d29797f 100644 --- a/webapp/mt/Task.php +++ b/webapp/mt/Task.php @@ -124,8 +124,10 @@ class Task { $metas = array(); foreach (self::getMetaList() as $meta) { if ($meta['type'] == self::OFFER_REWARD_MISSON_TYPE) { - if (!array_find($excludeMetas, function($val) { + if (!array_find($excludeMetas, function($val, $meta) { + if ($val['mission_id'] == $meta['id']) { + } })) { array_push($metas, $meta); }