From: Evan Prodromou Date: Sat, 17 May 2008 19:21:51 +0000 (-0400) Subject: fix notice counting code X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=726e8fdaf70402e5f658af38b13620972af8ebdf;p=quix0rs-gnu-social.git fix notice counting code darcs-hash:20080517192151-84dde-d96af70740e7edd76fd1dd4cd9ea5f8e9bc5c060.gz --- 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');