aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-11-15 13:52:25 -0800
committerzotlabs <mike@macgirvin.com>2018-11-15 13:52:25 -0800
commit26f593afaad84d264bcb02728edfc8cee63b3836 (patch)
tree30cc21bee1ce50caecc9f1c52f86a3e726096aa3 /include
parentbeac45b0753c3362b8270f94c8d6e946eda36f01 (diff)
downloadvolse-hubzilla-26f593afaad84d264bcb02728edfc8cee63b3836.tar.gz
volse-hubzilla-26f593afaad84d264bcb02728edfc8cee63b3836.tar.bz2
volse-hubzilla-26f593afaad84d264bcb02728edfc8cee63b3836.zip
delivery issue
Diffstat (limited to 'include')
-rw-r--r--include/zot.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/zot.php b/include/zot.php
index 49fc89e33..3ccf0a81f 100644
--- a/include/zot.php
+++ b/include/zot.php
@@ -1187,13 +1187,13 @@ function zot_fetch($arr) {
$zret = zot6_check_sig();
- if($zret['success'] && $zret['hubloc'] && $zret['hubloc']['hubloc_guid'] === $data['sender']['guid'] && $data['msg']) {
+ if($zret['success'] && $zret['hubloc'] && $zret['hubloc']['hubloc_guid'] === $arr['sender']['guid'] && $arr['msg']) {
logger('zot6_delivery',LOGGER_DEBUG);
- logger('zot6_data: ' . print_r($data,true),LOGGER_DATA);
+ logger('zot6_data: ' . print_r($arr,true),LOGGER_DATA);
$ret['collected'] = true;
- $import = [ 'success' => true, 'body' => json_encode( [ 'success' => true, 'pickup' => [ [ 'notify' => $data, 'message' => json_decode($data['msg'],true) ] ] ] ) ];
+ $import = [ 'success' => true, 'body' => json_encode( [ 'success' => true, 'pickup' => [ [ 'notify' => $arr, 'message' => json_decode($arr['msg'],true) ] ] ] ) ];
$hubs = [ $zret['hubloc'] ] ;
}