aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2019-01-17 11:39:52 +0100
committerMario Vavti <mario@mariovavti.com>2019-01-17 11:39:52 +0100
commit07f6465872e807224e54e3d73f5296d0fa057ca2 (patch)
treef3e3094dc7beb59f6db52c8f510de77581b334c9 /Zotlabs/Module
parenteda7c5369c0228ed11ef3bddfa33d81b0c6a3747 (diff)
downloadvolse-hubzilla-07f6465872e807224e54e3d73f5296d0fa057ca2.tar.gz
volse-hubzilla-07f6465872e807224e54e3d73f5296d0fa057ca2.tar.bz2
volse-hubzilla-07f6465872e807224e54e3d73f5296d0fa057ca2.zip
fix delivery report for zot6 connections
Diffstat (limited to 'Zotlabs/Module')
-rw-r--r--Zotlabs/Module/Dreport.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/Zotlabs/Module/Dreport.php b/Zotlabs/Module/Dreport.php
index 16ae7941f..2c125b7a9 100644
--- a/Zotlabs/Module/Dreport.php
+++ b/Zotlabs/Module/Dreport.php
@@ -80,8 +80,9 @@ class Dreport extends \Zotlabs\Web\Controller {
return;
}
- $r = q("select * from dreport where dreport_xchan = '%s' and dreport_mid = '%s'",
+ $r = q("select * from dreport where (dreport_xchan = '%s' or dreport_xchan = '%s') and dreport_mid = '%s'",
dbesc($channel['channel_hash']),
+ dbesc($channel['channel_portable_id']),
dbesc($mid)
);