]> git.mxchange.org Git - friendica.git/commitdiff
Added parenthesis
authorRoland Häder <roland@mxchange.org>
Fri, 17 Jun 2022 07:40:29 +0000 (09:40 +0200)
committerRoland Häder <roland@mxchange.org>
Fri, 17 Jun 2022 07:41:11 +0000 (09:41 +0200)
src/Content/Conversation.php

index 3bc2033f5a29da3ef84f3b085eddd3211c05ada7..952b80e7687e30467f74a91dec41fae1af96d52b 100644 (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;
                                }