aboutsummaryrefslogtreecommitdiffstats
path: root/include/channel.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2023-07-03 10:37:32 +0000
committerMario <mario@mariovavti.com>2023-07-03 10:37:32 +0000
commit7a0f22b0a7d909518c22264d524f584c9d2df456 (patch)
treecc09d3c6353f001b010e02dc72d96d82f63e2302 /include/channel.php
parent4f03272a5f4c33f6c893b6f56f43fe5e839173b3 (diff)
downloadvolse-hubzilla-7a0f22b0a7d909518c22264d524f584c9d2df456.tar.gz
volse-hubzilla-7a0f22b0a7d909518c22264d524f584c9d2df456.tar.bz2
volse-hubzilla-7a0f22b0a7d909518c22264d524f584c9d2df456.zip
make sure to return infos from current hub where applicable - fix issue #1770
Diffstat (limited to 'include/channel.php')
-rw-r--r--include/channel.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/channel.php b/include/channel.php
index 01302a1b9..2e8aefaaa 100644
--- a/include/channel.php
+++ b/include/channel.php
@@ -3092,5 +3092,5 @@ function channel_url($channel) {
function get_channel_hashes() {
$r = dbq("SELECT channel_hash FROM channel WHERE channel_removed = 0");
- return flatten_array_recursive($r);
+ return ids_to_array($r, 'channel_hash');
}