summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@controlyourself.ca>2009-07-01 20:59:49 +0000
committerSarven Capadisli <csarven@controlyourself.ca>2009-07-01 20:59:49 +0000
commitb8d32a511827a3db893969767ac11594b16e437f (patch)
tree79519a42edfd666ac74990be0c09ae7953d6a72c
parentc832888234528f076daf2cdca03d86e68eb51a7d (diff)
parent90557e9147a154e84a6d46ee1d63efceaf9ff12b (diff)
Merge branch '0.8.x' of git@gitorious.org:laconica/dev into 0.8.x
-rw-r--r--actions/conversation.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/actions/conversation.php b/actions/conversation.php
index 79197da2d..cd6f26329 100644
--- a/actions/conversation.php
+++ b/actions/conversation.php
@@ -107,7 +107,7 @@ class ConversationAction extends Action
function showContent()
{
- $notices = Notice::conversationStream($this->id);
+ $notices = Notice::conversationStream($this->id, 0, null);
$ct = new ConversationTree($notices, $this);
@@ -140,9 +140,7 @@ class ConversationTree extends NoticeList
function show()
{
- $cnt = 0;
-
- $this->_buildTree();
+ $cnt = $this->_buildTree();
$this->out->elementStart('div', array('id' =>'notices_primary'));
$this->out->element('h2', null, _('Notices'));
@@ -181,6 +179,8 @@ class ConversationTree extends NoticeList
$this->tree[$notice->reply_to] = array($notice->id);
}
}
+
+ return $cnt;
}
/**