From 9c23fe5ab613ee1fa192d0ca87d68aff1eab57d1 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Thu, 17 Dec 2015 14:26:42 -0800 Subject: issue #228 --- include/zot.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') 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 )); /* -- cgit v1.2.3