From 7a0f22b0a7d909518c22264d524f584c9d2df456 Mon Sep 17 00:00:00 2001 From: Mario Date: Mon, 3 Jul 2023 10:37:32 +0000 Subject: make sure to return infos from current hub where applicable - fix issue #1770 --- include/channel.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/channel.php') 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'); } -- cgit v1.2.3