diff options
author | friendica <info@friendica.com> | 2011-11-24 18:26:06 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2011-11-24 18:26:06 -0800 |
commit | 4b95e8ebe8719827566b484810dfe140f7b51726 (patch) | |
tree | b25c15cc4422e2d47635e671113763c1bcdabaa1 /include | |
parent | 757ca5014cc6329b53d5a8f6e6b7a1a19952f0f2 (diff) | |
download | volse-hubzilla-4b95e8ebe8719827566b484810dfe140f7b51726.tar.gz volse-hubzilla-4b95e8ebe8719827566b484810dfe140f7b51726.tar.bz2 volse-hubzilla-4b95e8ebe8719827566b484810dfe140f7b51726.zip |
rework the liveupdate fixes - what a mess
Diffstat (limited to 'include')
-rw-r--r-- | include/conversation.php | 4 |
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'] = ""; } |