1
1
Fork 0

Merge pull request #11652 from Quix0r/fixes/causer-id

Misspelled braces causing "undefined index 'causer-id'" message
This commit is contained in:
Hypolite Petovan 2022-06-17 10:12:22 -04:00 committed by GitHub
commit a8a21c7fb6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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;
}