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:
parent
d3aa50c9c3
commit
9f90806027
@ -1246,6 +1246,10 @@ function zot_import($arr, $sender_url) {
|
|||||||
$no_dups = array();
|
$no_dups = array();
|
||||||
if($deliveries) {
|
if($deliveries) {
|
||||||
foreach($deliveries as $d) {
|
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))
|
if(! in_array($d['hash'],$no_dups))
|
||||||
$no_dups[] = $d['hash'];
|
$no_dups[] = $d['hash'];
|
||||||
}
|
}
|
||||||
|
@ -1 +1 @@
|
|||||||
2015-11-28.1230
|
2015-11-29.1231
|
||||||
|
Reference in New Issue
Block a user