aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-11-14 19:33:28 -0800
committerfriendica <info@friendica.com>2013-11-14 19:33:28 -0800
commit613ff90e6a8a97b5d1a29bd79a56ac05feccaba2 (patch)
treef0216bade9a110669e83f418bf49ee4a37f972b7 /include
parent09d357ed472d2193f9b2d1797452cda1256307a9 (diff)
downloadvolse-hubzilla-613ff90e6a8a97b5d1a29bd79a56ac05feccaba2.tar.gz
volse-hubzilla-613ff90e6a8a97b5d1a29bd79a56ac05feccaba2.tar.bz2
volse-hubzilla-613ff90e6a8a97b5d1a29bd79a56ac05feccaba2.zip
silence a warning
Diffstat (limited to 'include')
-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;