From: Roland Häder Date: Thu, 16 Jun 2022 20:59:41 +0000 (+0200) Subject: Wrong braces causing 'undefined index causer-id'. See #11632 X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=a903dbd77ec1749d96e1d3891d2699873b8ddf1d;p=friendica.git Wrong braces causing 'undefined index causer-id'. See #11632 --- diff --git a/src/Content/Conversation.php b/src/Content/Conversation.php index a82cb35e00..3bc2033f5a 100644 --- a/src/Content/Conversation.php +++ b/src/Content/Conversation.php @@ -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; }