]> git.mxchange.org Git - friendica.git/commitdiff
Some more changes after review
authorMichael <heluecht@pirati.ca>
Thu, 5 Oct 2023 03:17:55 +0000 (03:17 +0000)
committerMichael <heluecht@pirati.ca>
Thu, 5 Oct 2023 03:17:55 +0000 (03:17 +0000)
src/Module/Settings/Display.php

index 6b472a6b9701ca74345f018eb46f0d9f8b43de7e..44be88ec1518745cf0f7a3ab654157b90be5a879 100644 (file)
@@ -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);