aboutsummaryrefslogtreecommitdiffstats
path: root/include/zot.php
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-07-14 17:10:13 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-07-14 17:10:13 -0700
commite8f19c1e15f9ba728ca19222a62da602b862c77c (patch)
treeb1434ba4eea81d9ad0e951a9acd9e5f83ebafd20 /include/zot.php
parentda5cec24e018cded947f931e2398ea43e052caed (diff)
parent3687fef53c5eeef7153306f45c5f187d5bfca68c (diff)
downloadvolse-hubzilla-e8f19c1e15f9ba728ca19222a62da602b862c77c.tar.gz
volse-hubzilla-e8f19c1e15f9ba728ca19222a62da602b862c77c.tar.bz2
volse-hubzilla-e8f19c1e15f9ba728ca19222a62da602b862c77c.zip
Merge branch 'master' of https://github.com/redmatrix/redmatrix
Conflicts: mod/connedit.php
Diffstat (limited to 'include/zot.php')
-rw-r--r--include/zot.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/zot.php b/include/zot.php
index 4ac346002..a43c6bc1b 100644
--- a/include/zot.php
+++ b/include/zot.php
@@ -1088,7 +1088,9 @@ function zot_import($arr, $sender_url) {
logger('specific recipients');
$recip_arr = array();
foreach($i['notify']['recipients'] as $recip) {
- $recip_arr[] = make_xchan_hash($recip['guid'],$recip['guid_sig']);
+ if(is_array($recip)) {
+ $recip_arr[] = make_xchan_hash($recip['guid'],$recip['guid_sig']);
+ }
}
stringify_array_elms($recip_arr);
$recips = implode(',',$recip_arr);