From: Michael Date: Tue, 19 Sep 2023 09:23:27 +0000 (+0000) Subject: Fix selected timelines X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=00eb6b01ff62fbb98e1e619a35cc160df3c828ff;p=friendica.git Fix selected timelines --- diff --git a/src/Module/Conversation/Network.php b/src/Module/Conversation/Network.php index 04f3f232f5..095b2ccebe 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 {