From 9f90806027568666d6cd60eb41ec66d278fe05cd Mon Sep 17 00:00:00 2001 From: redmatrix Date: Sun, 29 Nov 2015 15:23:29 -0800 Subject: 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. --- include/zot.php | 4 ++++ version.inc | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/include/zot.php b/include/zot.php index c0d537eb9..e575f3d05 100644 --- a/include/zot.php +++ b/include/zot.php @@ -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']; } diff --git a/version.inc b/version.inc index ed529cb60..a6e0a4916 100644 --- a/version.inc +++ b/version.inc @@ -1 +1 @@ -2015-11-28.1230 +2015-11-29.1231 -- cgit v1.2.3