]> git.mxchange.org Git - friendica.git/blobdiff - include/conversation.php
Avoid "Duplicate entry" error in apcontact
[friendica.git] / include / conversation.php
index aa807619eb8a7302e5f2711ca0899c69efb4c5c5..64c8228ff919c5c9d9115e7c36b457333315288c 100644 (file)
@@ -733,7 +733,7 @@ function conversation_fetch_comments($thread_items, $pinned) {
 
                if (!empty($parentlines) && empty($direction) && ($row['gravity'] == GRAVITY_COMMENT)
                        && Contact::isSharing($row['author-id'], $row['uid'])) {
-                       $direction = ['direction' => 2, 'title' => DI::l10n()->t('%s commented this.', $row['author-name'])];
+                       $direction = ['direction' => 5, 'title' => DI::l10n()->t('%s commented on this.', $row['author-name'])];
                }
 
                if (($row['gravity'] == GRAVITY_PARENT) && !$row['origin'] && ($row['author-id'] == $row['owner-id'])