silence a warning
This commit is contained in:
parent
09d357ed47
commit
613ff90e6a
@ -884,7 +884,7 @@ function zot_import($arr, $sender_url) {
|
|||||||
|
|
||||||
}
|
}
|
||||||
else {
|
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...
|
// This should not happen but until we can stop it...
|
||||||
logger('private message was delivered with no recipients.');
|
logger('private message was delivered with no recipients.');
|
||||||
continue;
|
continue;
|
||||||
|
Reference in New Issue
Block a user