diff options
author | Mario <mario@mariovavti.com> | 2021-04-20 08:49:03 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2021-04-20 10:52:39 +0200 |
commit | 6a858b29fdf78817d1103f52afec5f764aeca6f2 (patch) | |
tree | 4d19d32c6baca0fe11674c749d17635344a4947c | |
parent | 3f0e687558a2b33756c35074430e39089b994574 (diff) | |
download | volse-hubzilla-6a858b29fdf78817d1103f52afec5f764aeca6f2.tar.gz volse-hubzilla-6a858b29fdf78817d1103f52afec5f764aeca6f2.tar.bz2 volse-hubzilla-6a858b29fdf78817d1103f52afec5f764aeca6f2.zip |
potential export issue when using PHP8
(cherry picked from commit ba412bc6cf0110b089493ee8f9b65cda0487001f)
-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; } |