From ba412bc6cf0110b089493ee8f9b65cda0487001f Mon Sep 17 00:00:00 2001 From: Mario Date: Tue, 20 Apr 2021 08:49:03 +0000 Subject: potential export issue when using PHP8 --- include/channel.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/channel.php') diff --git a/include/channel.php b/include/channel.php index 9347ba73b..31c7c407f 100644 --- a/include/channel.php +++ b/include/channel.php @@ -991,11 +991,11 @@ function identity_basic_export($channel_id, $sections = null, $zap_compat = fals } if($xchans) { - $r = q("select * from xchan where xchan_hash in ( " . implode(',',$xchans) . " ) "); + $r = dbq("select * from xchan where xchan_hash in ( " . implode(',',$xchans) . " ) "); if($r) $ret['xchan'] = $r; - $r = q("select * from hubloc where hubloc_hash in ( " . implode(',',$xchans) . " ) "); + $r = dbq("select * from hubloc where hubloc_hash in ( " . implode(',',$xchans) . " ) "); if($r) $ret['hubloc'] = $r; } -- cgit v1.2.3