Wrong braces causing 'undefined index causer-id'. See #11632

This commit is contained in:
Roland Häder 2022-06-16 22:59:41 +02:00
parent 51b31a846f
commit a903dbd77e
No known key found for this signature in database
GPG Key ID: C82EDE5DDFA0BA77

View File

@ -154,7 +154,7 @@ class Conversation
}
// Skip when the causer of the parent is the same as the author of the announce
if (($verb == Activity::ANNOUNCE) && !empty($thread_parent['causer-id'] && ($thread_parent['causer-id'] == $activity['author-id']))) {
if ($verb == Activity::ANNOUNCE && !empty($thread_parent['causer-id']) && $thread_parent['causer-id'] == $activity['author-id']) {
continue;
}