diff options
author | redmatrix <redmatrix@redmatrix.me> | 2015-09-22 04:28:05 -0700 |
---|---|---|
committer | redmatrix <redmatrix@redmatrix.me> | 2015-09-22 04:28:05 -0700 |
commit | 1c1155513a6206b56e45045f762908767049f86e (patch) | |
tree | 9bd9698760b00810fa783eea9704b5f9d266d309 | |
parent | f84151e1fe830dca59ae83de429670dfde76b7d2 (diff) | |
download | volse-hubzilla-1c1155513a6206b56e45045f762908767049f86e.tar.gz volse-hubzilla-1c1155513a6206b56e45045f762908767049f86e.tar.bz2 volse-hubzilla-1c1155513a6206b56e45045f762908767049f86e.zip |
add one more test
-rw-r--r-- | include/zot.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/zot.php b/include/zot.php index d0f4f5680..adeedd42e 100644 --- a/include/zot.php +++ b/include/zot.php @@ -957,7 +957,7 @@ function zot_process_response($hub, $arr, $outq) { logger('zot_process_response: headers: ' . print_r($arr['header'],true), LOGGER_DATA); } - if(array_key_exists('delivery_report',$x) && is_array($x['delivery_report'])) { + if(is_array($x) && array_key_exists('delivery_report',$x) && is_array($x['delivery_report'])) { foreach($x['delivery_report'] as $xx) { if(is_array($xx) && array_key_exists('message_id',$xx)) { q("insert into dreport ( dreport_mid, dreport_site, dreport_recip, dreport_result, dreport_time, dreport_xchan ) values ( '%s', '%s','%s','%s','%s','%s' ) ", |