mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
EventDetailPage/RelItems
* fixed getting related items from QuestList
This commit is contained in:
@@ -190,7 +190,10 @@ class EventPage extends GenericPage
|
|||||||
|
|
||||||
$questItems = [];
|
$questItems = [];
|
||||||
foreach (array_column($quests->rewards, Type::ITEM) as $arr)
|
foreach (array_column($quests->rewards, Type::ITEM) as $arr)
|
||||||
$questItems = array_merge($questItems, $arr);
|
$questItems = array_merge($questItems, array_keys($arr));
|
||||||
|
|
||||||
|
foreach (array_column($quests->choices, Type::ITEM) as $arr)
|
||||||
|
$questItems = array_merge($questItems, array_keys($arr));
|
||||||
|
|
||||||
foreach (array_column($quests->requires, Type::ITEM) as $arr)
|
foreach (array_column($quests->requires, Type::ITEM) as $arr)
|
||||||
$questItems = array_merge($questItems, $arr);
|
$questItems = array_merge($questItems, $arr);
|
||||||
|
|||||||
Reference in New Issue
Block a user