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

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