aboutsummaryrefslogtreecommitdiffstats
path: root/include/zot.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2015-02-03 16:03:58 -0800
committerfriendica <info@friendica.com>2015-02-03 16:03:58 -0800
commitde79bb89fc0f6d0a55b1734e4deeb0dd5eed2fb9 (patch)
tree7b4a395abcc02c5a7df0fee56e0f2c0c8f51f2e9 /include/zot.php
parent8a78d1d5dfcb048b83345c0d832c71303de04cd5 (diff)
parent3f50313862f5c2ca9d7118b234b2f154c7fb736a (diff)
downloadvolse-hubzilla-de79bb89fc0f6d0a55b1734e4deeb0dd5eed2fb9.tar.gz
volse-hubzilla-de79bb89fc0f6d0a55b1734e4deeb0dd5eed2fb9.tar.bz2
volse-hubzilla-de79bb89fc0f6d0a55b1734e4deeb0dd5eed2fb9.zip
Merge branch 'master' into pocorate
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 1e9577dc6..0e1c5165a 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'])) {