mirror of
https://github.com/friendica/friendica
synced 2024-12-23 08:00:16 +00:00
Fix selected timelines
This commit is contained in:
parent
a2f119e18e
commit
00eb6b01ff
1 changed files with 3 additions and 3 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue