log whatever is showing up in the delivery hash array since it seems that one site has something unusual there and it is throwing errors.

This commit is contained in:
redmatrix 2015-11-29 15:23:29 -08:00
parent d3aa50c9c3
commit 9f90806027
2 changed files with 5 additions and 1 deletions

View File

@ -1246,6 +1246,10 @@ function zot_import($arr, $sender_url) {
$no_dups = array();
if($deliveries) {
foreach($deliveries as $d) {
if(! is_array($d)) {
logger('Delivery hash array is not an array: ' . print_r($d,true));
continue;
}
if(! in_array($d['hash'],$no_dups))
$no_dups[] = $d['hash'];
}

View File

@ -1 +1 @@
2015-11-28.1230
2015-11-29.1231