Commit c648c38f authored by Mario's avatar Mario
Browse files

fix warning

parent 34d54fd3
Pipeline #365588 passed with stage
in 2 minutes and 59 seconds
......@@ -800,7 +800,7 @@ class Activity {
$is_directmessage = false;
$recips = get_iconfig($i['parent'], 'activitypub', 'recips');
if(in_array($i['author']['xchan_url'], $recips['to'])) {
if(array_path_exists('to', $recips) && in_array($i['author']['xchan_url'], $recips['to'])) {
$reply_url = $d[0]['xchan_url'];
$is_directmessage = true;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment