aboutsummaryrefslogtreecommitdiffstats
path: root/include/zot.php
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-12-17 14:26:42 -0800
committerredmatrix <redmatrix@redmatrix.me>2015-12-17 14:26:42 -0800
commit9c23fe5ab613ee1fa192d0ca87d68aff1eab57d1 (patch)
tree1d7444dbc692a1228f2511cbace221e3eba895af /include/zot.php
parentbcebd1d5b92929868fb9cb3fb81fd5ae18e5d86e (diff)
downloadvolse-hubzilla-9c23fe5ab613ee1fa192d0ca87d68aff1eab57d1.tar.gz
volse-hubzilla-9c23fe5ab613ee1fa192d0ca87d68aff1eab57d1.tar.bz2
volse-hubzilla-9c23fe5ab613ee1fa192d0ca87d68aff1eab57d1.zip
issue #228
Diffstat (limited to 'include/zot.php')
-rw-r--r--include/zot.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/zot.php b/include/zot.php
index 749ffa851..ce3bef783 100644
--- a/include/zot.php
+++ b/include/zot.php
@@ -3518,7 +3518,7 @@ function zot_reply_message_request($data) {
if ($messages) {
$env_recips = null;
- $r = q("select * from hubloc where hubloc_hash = '%s' and not hubloc_error and not hubloc_deleted
+ $r = q("select * from hubloc where hubloc_hash = '%s' and hubloc_error = 0 and hubloc_deleted = 0
group by hubloc_sitekey",
dbesc($sender_hash)
);
@@ -3549,7 +3549,7 @@ function zot_reply_message_request($data) {
'channel_id' => $c[0]['channel_id'],
'posturl' => $hub['hubloc_callback'],
'notify' => $n,
- 'msg' => json_encode($data_packet)
+ 'msg' => $data_packet
));
/*