mirror of
https://github.com/friendica/friendica
synced 2025-01-11 03:24:46 +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)) {
|
if (!empty($network_timelines)) {
|
||||||
$tabs = [];
|
$tabs = [];
|
||||||
|
|
||||||
foreach (array_column($arr['tabs'], 'code') as $tab) {
|
foreach ($arr['tabs'] as $tab) {
|
||||||
if (in_array($tab, $network_timelines)) {
|
if (in_array($tab['code'], $network_timelines)) {
|
||||||
$tabs[] = $arr['tabs'][$tab];
|
$tabs[] = $tab;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue