summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-05-17 15:21:51 -0400
committerEvan Prodromou <evan@prodromou.name>2008-05-17 15:21:51 -0400
commit726e8fdaf70402e5f658af38b13620972af8ebdf (patch)
treeb35bd51887c4a56b965caf41b541b41cfee749d2
parent95717c2b16a1cdaae59a3a1c40412b4ffc5a0764 (diff)
fix notice counting code
darcs-hash:20080517192151-84dde-d96af70740e7edd76fd1dd4cd9ea5f8e9bc5c060.gz
-rw-r--r--actions/showstream.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/actions/showstream.php b/actions/showstream.php
index c4908101b..bc16b4d51 100644
--- a/actions/showstream.php
+++ b/actions/showstream.php
@@ -190,8 +190,8 @@ class ShowstreamAction extends StreamAction {
$subbed_count = $subbed->count();
$notices = DB_DataObject::factory('notice');
- $notice->profile_id = $profile->id;
- $notice_count = $notice->count();
+ $notices->profile_id = $profile->id;
+ $notice_count = $notices->count();
# Other stats...?
common_element_start('dl', 'statistics');