From 726e8fdaf70402e5f658af38b13620972af8ebdf Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Sat, 17 May 2008 15:21:51 -0400 Subject: [PATCH] fix notice counting code darcs-hash:20080517192151-84dde-d96af70740e7edd76fd1dd4cd9ea5f8e9bc5c060.gz --- actions/showstream.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/actions/showstream.php b/actions/showstream.php index c4908101bb..bc16b4d51f 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');