delivery report issue
This commit is contained in:
parent
39d914c9df
commit
5162459e4a
@ -1121,12 +1121,13 @@ function zot_process_response($hub, $arr, $outq) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
foreach($x['delivery_report'] as $xx) {
|
foreach($x['delivery_report'] as $xx) {
|
||||||
call_hooks('dreport_process',$xx);
|
call_hooks('dreport_process',$xx);
|
||||||
if(is_array($xx) && array_key_exists('message_id',$xx) && DReport::is_storable($xx)) {
|
if(is_array($xx) && array_key_exists('message_id',$xx) && DReport::is_storable($xx)) {
|
||||||
q("insert into dreport ( dreport_mid, dreport_site, dreport_recip, dreport_result, dreport_time, dreport_xchan ) values ( '%s', '%s','%s','%s','%s','%s' ) ",
|
q("insert into dreport ( dreport_mid, dreport_site, dreport_recip, dreport_name, dreport_result, dreport_time, dreport_xchan ) values ( '%s', '%s','%s','%s','%s','%s','%s' ) ",
|
||||||
dbesc($xx['message_id']),
|
dbesc($xx['message_id']),
|
||||||
dbesc($xx['location']),
|
dbesc($xx['location']),
|
||||||
dbesc($xx['recipient']),
|
dbesc($xx['recipient']),
|
||||||
|
dbesc($xx['name']),
|
||||||
dbesc($xx['status']),
|
dbesc($xx['status']),
|
||||||
dbesc(datetime_convert($xx['date'])),
|
dbesc(datetime_convert($xx['date'])),
|
||||||
dbesc($xx['sender'])
|
dbesc($xx['sender'])
|
||||||
|
Reference in New Issue
Block a user