From: Michael Date: Thu, 5 Oct 2023 03:17:55 +0000 (+0000) Subject: Some more changes after review X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=5d6e02bef3e3279ac84089c15e05f121e3c8bda9;p=friendica.git Some more changes after review --- diff --git a/src/Module/Settings/Display.php b/src/Module/Settings/Display.php index 6b472a6b97..44be88ec15 100644 --- a/src/Module/Settings/Display.php +++ b/src/Module/Settings/Display.php @@ -330,7 +330,7 @@ class Display extends BaseSettings $timelines = []; foreach ($this->timeline->getNetworkFeeds('') as $channel) { - $timelines[$channel->code] = $channel; + $timelines[] = $channel; } if ($only_network) { @@ -338,11 +338,11 @@ class Display extends BaseSettings } foreach ($this->timeline->getChannelsForUser($uid) as $channel) { - $timelines[$channel->code] = $channel; + $timelines[] = $channel; } foreach ($this->timeline->getCommunities(true) as $community) { - $timelines[$community->code] = $community; + $timelines[] = $community; } return new Timelines($timelines);