fix
This commit is contained in:
parent
64e37a19bf
commit
60a026f6ee
@ -703,11 +703,12 @@ class SoloController
|
|||||||
}
|
}
|
||||||
|
|
||||||
$found = false;
|
$found = false;
|
||||||
|
$newarr = array();
|
||||||
foreach ($details[$fundsname] as &$id) {
|
foreach ($details[$fundsname] as &$id) {
|
||||||
if ($id == $fundsid) {
|
if ($id == $fundsid) {
|
||||||
$found = true;
|
$found = true;
|
||||||
unset($id);
|
} else {
|
||||||
break;
|
$newarr[] = $id;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -716,6 +717,8 @@ class SoloController
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$details[$fundsname] = $newarr;
|
||||||
|
|
||||||
if (!array_key_exists($fundsid, $fundscfg)) {
|
if (!array_key_exists($fundsid, $fundscfg)) {
|
||||||
phpcommon\sendError(ERR_USER_BASE + 1, '基金不存在 4');
|
phpcommon\sendError(ERR_USER_BASE + 1, '基金不存在 4');
|
||||||
return;
|
return;
|
||||||
@ -1056,7 +1059,7 @@ class SoloController
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
$quest->triggerQuest(QUEST_DAY_SWEEP, 1, 1, $account_id);
|
$quest->triggerQuest(QUEST_DAY_SWEEP, 1, 1, $account_id);
|
||||||
$quest->triggerQuest(QUEST_DAY_MEDALS, 1,$medalcost, $account_id);
|
$quest->triggerQuest(QUEST_DAY_MEDALS, 1, $medalcost, $account_id);
|
||||||
}
|
}
|
||||||
|
|
||||||
$uplv_all_item_list = array();
|
$uplv_all_item_list = array();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user