From 613ff90e6a8a97b5d1a29bd79a56ac05feccaba2 Mon Sep 17 00:00:00 2001 From: friendica Date: Thu, 14 Nov 2013 19:33:28 -0800 Subject: silence a warning --- include/zot.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/zot.php') 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; -- cgit v1.2.3