fix notice counting code

darcs-hash:20080517192151-84dde-d96af70740e7edd76fd1dd4cd9ea5f8e9bc5c060.gz
This commit is contained in:
Evan Prodromou 2008-05-17 15:21:51 -04:00
parent 95717c2b16
commit 726e8fdaf7

View File

@ -190,8 +190,8 @@ class ShowstreamAction extends StreamAction {
$subbed_count = $subbed->count(); $subbed_count = $subbed->count();
$notices = DB_DataObject::factory('notice'); $notices = DB_DataObject::factory('notice');
$notice->profile_id = $profile->id; $notices->profile_id = $profile->id;
$notice_count = $notice->count(); $notice_count = $notices->count();
# Other stats...? # Other stats...?
common_element_start('dl', 'statistics'); common_element_start('dl', 'statistics');