]> git.mxchange.org Git - friendica.git/commitdiff
Wrong braces causing 'undefined index causer-id'. See #11632
authorRoland Häder <roland@mxchange.org>
Thu, 16 Jun 2022 20:59:41 +0000 (22:59 +0200)
committerRoland Häder <roland@mxchange.org>
Thu, 16 Jun 2022 21:00:16 +0000 (23:00 +0200)
src/Content/Conversation.php

index a82cb35e008ea2448daabc065adbe864c6765ae7..3bc2033f5a29da3ef84f3b085eddd3211c05ada7 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;
                                }