aboutsummaryrefslogtreecommitdiffstats
path: root/include/zot.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2015-02-03 16:03:05 -0800
committerfriendica <info@friendica.com>2015-02-03 16:03:05 -0800
commit3f50313862f5c2ca9d7118b234b2f154c7fb736a (patch)
tree9c614f4e9d8ac3402bd2d9fa83564767eb85cc4b /include/zot.php
parent44af22b968643a1aed26fc1831455d16fa26719e (diff)
downloadvolse-hubzilla-3f50313862f5c2ca9d7118b234b2f154c7fb736a.tar.gz
volse-hubzilla-3f50313862f5c2ca9d7118b234b2f154c7fb736a.tar.bz2
volse-hubzilla-3f50313862f5c2ca9d7118b234b2f154c7fb736a.zip
garbage in garbage out
Diffstat (limited to 'include/zot.php')
-rw-r--r--include/zot.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/zot.php b/include/zot.php
index 04b6806c2..7002fee0a 100644
--- a/include/zot.php
+++ b/include/zot.php
@@ -1084,6 +1084,11 @@ function zot_import($arr, $sender_url) {
if(is_array($incoming)) {
foreach($incoming as $i) {
+ if(! is_array($i)) {
+ logger('incoming is not an array');
+ continue;
+ }
+
$result = null;
if(array_key_exists('iv',$i['notify'])) {