php warnings
This commit is contained in:
parent
b6e099dd5f
commit
0e4f318b71
@ -1107,7 +1107,7 @@ function zot_import($arr, $sender_url) {
|
||||
// It's a specifically targetted post. If we were sent a public_scope hint (likely),
|
||||
// get rid of it so that it doesn't get stored and cause trouble.
|
||||
|
||||
if(array_key_exists('message',$i) && array_key_exists('public_scope',$i['message']))
|
||||
if(($i) && is_array($i) && array_key_exists('message',$i) && is_array($i['message']) && array_key_exists('public_scope',$i['message']))
|
||||
unset($i['message']['public_scope']);
|
||||
|
||||
$deliveries = $r;
|
||||
|
Reference in New Issue
Block a user