aboutsummaryrefslogtreecommitdiffstats
path: root/include/zot.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/zot.php')
-rw-r--r--include/zot.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/zot.php b/include/zot.php
index c7c5c52b7..09a3c28fa 100644
--- a/include/zot.php
+++ b/include/zot.php
@@ -884,7 +884,7 @@ function zot_import($arr, $sender_url) {
}
else {
- if((array_key_exists('flags',$i['message'])) && (in_array('private',$i['message']['flags']))) {
+ if(($i['message']) && (array_key_exists('flags',$i['message'])) && (in_array('private',$i['message']['flags']))) {
// This should not happen but until we can stop it...
logger('private message was delivered with no recipients.');
continue;