diff options
author | Mario <mario@mariovavti.com> | 2021-04-20 08:49:03 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2021-04-20 08:49:03 +0000 |
commit | ba412bc6cf0110b089493ee8f9b65cda0487001f (patch) | |
tree | ac64be6a1de40269b8c45d8be4fd924eab8699bc | |
parent | 31abcac4b4dc9e21588deb84b93bc41d761ed630 (diff) | |
download | volse-hubzilla-ba412bc6cf0110b089493ee8f9b65cda0487001f.tar.gz volse-hubzilla-ba412bc6cf0110b089493ee8f9b65cda0487001f.tar.bz2 volse-hubzilla-ba412bc6cf0110b089493ee8f9b65cda0487001f.zip |
potential export issue when using PHP8
-rw-r--r-- | include/channel.php | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |