1
This commit is contained in:
parent
3a33f74470
commit
757583ef63
@ -124,8 +124,10 @@ class Task {
|
|||||||
$metas = array();
|
$metas = array();
|
||||||
foreach (self::getMetaList() as $meta) {
|
foreach (self::getMetaList() as $meta) {
|
||||||
if ($meta['type'] == self::OFFER_REWARD_MISSON_TYPE) {
|
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);
|
array_push($metas, $meta);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user