aboutsummaryrefslogtreecommitdiffstats
path: root/include/conversation.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/conversation.php')
-rw-r--r--include/conversation.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/conversation.php b/include/conversation.php
index f7c8d5168..20baf7dc5 100644
--- a/include/conversation.php
+++ b/include/conversation.php
@@ -291,7 +291,7 @@ function conversation(&$a, $items, $mode, $update) {
$arr = array('item' => $item, 'output' => $tmp_item);
call_hooks('display_item', $arr);
- $threads[$threadsid]['id'] = $threadsid;
+ $threads[$threadsid]['id'] = $arr[$item['item_id']];
$threads[$threadsid]['html'] .= $arr['output'];
}
@@ -375,7 +375,7 @@ function conversation(&$a, $items, $mode, $update) {
$comments_collapsed = false;
$threadsid++;
- $threads[$threadsid]['id'] = $threadsid;
+ $threads[$threadsid]['id'] = $item['item_id'];
$threads[$threadsid]['html'] = "";
}