projects
/
friendica.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
51b31a8
)
Wrong braces causing 'undefined index causer-id'. See #11632
author
Roland Häder
<roland@mxchange.org>
Thu, 16 Jun 2022 20:59:41 +0000
(22:59 +0200)
committer
Roland Häder
<roland@mxchange.org>
Thu, 16 Jun 2022 21:00:16 +0000
(23:00 +0200)
src/Content/Conversation.php
patch
|
blob
|
history
diff --git
a/src/Content/Conversation.php
b/src/Content/Conversation.php
index a82cb35e008ea2448daabc065adbe864c6765ae7..3bc2033f5a29da3ef84f3b085eddd3211c05ada7 100644
(file)
--- 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;
}