From 00eb6b01ff62fbb98e1e619a35cc160df3c828ff Mon Sep 17 00:00:00 2001 From: Michael Date: Tue, 19 Sep 2023 09:23:27 +0000 Subject: [PATCH] Fix selected timelines --- src/Module/Conversation/Network.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Module/Conversation/Network.php b/src/Module/Conversation/Network.php index 04f3f232f..095b2cceb 100644 --- a/src/Module/Conversation/Network.php +++ b/src/Module/Conversation/Network.php @@ -289,9 +289,9 @@ class Network extends Timeline if (!empty($network_timelines)) { $tabs = []; - foreach (array_column($arr['tabs'], 'code') as $tab) { - if (in_array($tab, $network_timelines)) { - $tabs[] = $arr['tabs'][$tab]; + foreach ($arr['tabs'] as $tab) { + if (in_array($tab['code'], $network_timelines)) { + $tabs[] = $tab; } } } else {