aboutsummaryrefslogtreecommitdiffstats
path: root/include/zot.php
diff options
context:
space:
mode:
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 34e7f3e42..9a20084c4 100644
--- a/include/zot.php
+++ b/include/zot.php
@@ -1110,7 +1110,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);