Fix selected timelines

This commit is contained in:
Michael 2023-09-19 09:23:27 +00:00
parent a2f119e18e
commit 00eb6b01ff
1 changed files with 3 additions and 3 deletions

View File

@ -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 {