aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-04-20 08:49:03 +0000
committerMario <mario@mariovavti.com>2021-04-20 08:49:03 +0000
commitba412bc6cf0110b089493ee8f9b65cda0487001f (patch)
treeac64be6a1de40269b8c45d8be4fd924eab8699bc /include
parent31abcac4b4dc9e21588deb84b93bc41d761ed630 (diff)
downloadvolse-hubzilla-ba412bc6cf0110b089493ee8f9b65cda0487001f.tar.gz
volse-hubzilla-ba412bc6cf0110b089493ee8f9b65cda0487001f.tar.bz2
volse-hubzilla-ba412bc6cf0110b089493ee8f9b65cda0487001f.zip
potential export issue when using PHP8
Diffstat (limited to 'include')
-rw-r--r--include/channel.php4
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;
}